コード例 #1
0
        public override void OnNotifyMessageOpened(Context p0, NotificationMessage p1)
        {
            base.OnNotifyMessageOpened(p0, p1);
            JNotificationMessage jNotificationMessage = new JNotificationMessage
            {
                Category      = p1.NotificationCategory,
                ChannelId     = p1.NotificationChannelId,
                Content       = p1.NotificationContent,
                Extras        = p1.NotificationExtras,
                Title         = p1.NotificationTitle,
                NotifcationId = p1.NotificationId
            };

            JiGuangPush.Shared.JPushInstance.Instance.TriggerOnMessageOpened(jNotificationMessage);
        }
コード例 #2
0
 public void TriggerOnMessageOpened(JNotificationMessage jNotificationMessage)
 {
     OnMessageOpened?.Invoke(this, jNotificationMessage);
 }