Esempio n. 1
0
        internal static iOSNotificationListenerInfo ToIOSNotificationListenerInfo(INotificationListener listener)
        {
            var iOSListenerInfo = new iOSNotificationListenerInfo();

            iOSListenerInfo.name = listener.Name;
            iOSListenerInfo.backgroundNotificationMethod = Helper.GetMethodName(listener.NativeNotificationFromBackgroundHandler);
            iOSListenerInfo.foregroundNotificationMethod = Helper.GetMethodName(listener.NativeNotificationFromForegroundHandler);

            return(iOSListenerInfo);
        }
Esempio n. 2
0
 internal static extern void _InitNotifications(ref iOSNotificationAuthOptions authOptions, ref iOSNotificationListenerInfo listener, string jsonCategories);