public void ScheduleLocalNotification(CrossPlatformNotification _notification) { // Create meta info and pass to native IDictionary _payLoadInfo = AndroidNotificationPayload.CreateNotificationPayload(_notification); Plugin.Call(NativeInfo.Methods.SCHEDULE_LOCAL_NOTIFICATION, _payLoadInfo.ToJSON()); }
private Dictionary <string, string> GetCustomKeysForNotfication(NotificationServiceSettings _settings) { Dictionary <string, string> _data = new Dictionary <string, string>(); _data = AndroidNotificationPayload.GetNotificationKeyMap(); return(_data); }
public void ParseReceivedNotificationEventData(IDictionary _JSONDict, out CrossPlatformNotification _receivedNotification, out bool _isLaunchNotification) { _receivedNotification = new AndroidNotificationPayload(_JSONDict); _isLaunchNotification = _JSONDict.GetIfAvailable <bool>(kIsLaunchNotificationKey); }