public static void onParsePushReceived() { try { SMFJSObject onParsePushReceive = smfJSClass.getProperty("onParsePushReceive"); onParsePushReceive.callAsFunction(smfJSClass, null); } catch (Exception e) { e.printStackTrace(); } }
public static void onParseRegistrationFail() { try { SMFJSObject onRegistrationFail = smfJSClass.getProperty("onRegistrationFail"); onRegistrationFail.callAsFunction(smfJSClass, null); } catch (Exception e) { e.printStackTrace(); } }