subscribeLocalNotification
abstract fun subscribeLocalNotification(event: String?, callback: (event: String, @R|kotlin/ParameterName|(name = String(userInfo)) ERROR CLASS: Symbol not found for js.objects.ReadonlyRecord<kotlin/String, kotlin/Any?>, object: String) -> Unit): Double(source)
The ID of this subscription
Same as subscribeNotification
, but uses NSNotificationCenter
for local defaults. This is necessary for events such as NSUserDefaultsDidChangeNotification
.
If event
is null, the NSNotificationCenter
doesn’t use it as criteria for delivery to the observer. See docs for more information.