BuildIt.Bot.Client.Impl.Droid.Utilities.GcmService.ProcessPushNotification C# (CSharp) Method

ProcessPushNotification() private method

private ProcessPushNotification ( Android.Content.Intent intent ) : void
intent Android.Content.Intent
return void
        private void ProcessPushNotification(Intent intent)
        {
            var title = intent?.Extras.GetStringForLowercaseKey("Title");
            var body = intent?.Extras.GetStringForLowercaseKey("Body");
            if (!string.IsNullOrWhiteSpace(title) && !string.IsNullOrWhiteSpace(body))
            {
                DisplayPushNotification(title, body);
            }
        }