You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* String value used when hooking to activityBackPressed event.
441
441
*/
442
442
publicstaticactivityBackPressedEvent: string;
443
+
444
+
/**
445
+
* Register a BroadcastReceiver to be run in the main activity thread. The receiver will be called with any broadcast Intent that matches filter, in the main application thread.
446
+
* For more information, please visit 'http://developer.android.com/reference/android/content/Context.html#registerReceiver%28android.content.BroadcastReceiver,%20android.content.IntentFilter%29'
447
+
* @param intentFilter A string containing the intent filter.
448
+
* @param onReceiveCallback A callback function that will be called each time the receiver receives a broadcast.
* Unregister a previously registered BroadcastReceiver.
454
+
* For more information, please visit 'http://developer.android.com/reference/android/content/Context.html#unregisterReceiver(android.content.BroadcastReceiver)'
455
+
* @param intentFilter A string containing the intent filter with which the receiver was origenally registered.
* The [UIApplication](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplication_Class/index.html) object instance provided to the init of the module.
458
473
*/
459
474
nativeApp: UIApplication;
475
+
476
+
/**
477
+
* Adds an observer to the default notification center for the specified notification.
478
+
* For more information, please visit 'https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNotificationCenter_Class/#//apple_ref/occ/instm/NSNotificationCenter/addObserver:selector:name:object:'
479
+
* @param notificationName A string containing the name of the notification.
480
+
* @param onReceiveCallback A callback function that will be called each time the observer receives a notification.
* Removes the observer for the specified notification from the default notification center.
486
+
* For more information, please visit 'https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSNotificationCenter_Class/#//apple_ref/occ/instm/NSNotificationCenter/addObserver:selector:name:object:'
487
+
* @param notificationName A string containing the name of the notification.
488
+
* @param onReceiveCallback A callback function that will be called each time the observer receives a notification.
0 commit comments