コード例 #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);
        }
コード例 #2
0
 internal static extern void _InitNotifications(ref iOSNotificationAuthOptions authOptions, ref iOSNotificationListenerInfo listener, string jsonCategories);