예제 #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();
    }
  }