示例#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();
    }
  }