コード例 #1
0
  public static void onParsePushReceived() {
    try {
      SMFJSObject onParsePushReceive = smfJSClass.getProperty("onParsePushReceive");
      onParsePushReceive.callAsFunction(smfJSClass, null);

    } catch (Exception e) {
      e.printStackTrace();
    }
  }
コード例 #2
0
  public static void onParseRegistrationFail() {
    try {
      SMFJSObject onRegistrationFail = smfJSClass.getProperty("onRegistrationFail");
      onRegistrationFail.callAsFunction(smfJSClass, null);

    } catch (Exception e) {
      e.printStackTrace();
    }
  }