void CallPushAccepted(Notification.PushMessage pushMessage) { new Handler(ApplicationContext.MainLooper).Post(() => { PushManager.Instance.OnPushAccepted(PushManager.NotificationFromNative(pushMessage), !IsAppOnForeground); }); }
bool CallPushReceived(Notification.PushMessage pushMessage) { new Handler(ApplicationContext.MainLooper).Post(() => { PushManager.Instance.OnPushReceived(PushManager.NotificationFromNative(pushMessage), !IsAppOnForeground); }); return(IsAppOnForeground && !PushManager.Instance.ShowPushNotificationAlerts); }