internal static iOSNotificationListenerInfo ToIOSNotificationListenerInfo(INotificationListener listener) { var iOSListenerInfo = new iOSNotificationListenerInfo(); iOSListenerInfo.name = listener.Name; iOSListenerInfo.backgroundNotificationMethod = ReflectionUtil.GetMethodName(listener.NativeNotificationFromBackgroundHandler); iOSListenerInfo.foregroundNotificationMethod = ReflectionUtil.GetMethodName(listener.NativeNotificationFromForegroundHandler); return(iOSListenerInfo); }
internal static extern void EM_InitNotifications(ref iOSNotificationAuthOptions authOptions, ref iOSNotificationListenerInfo listener, string jsonCategories);