public void InitPushNotifications()
 {
     AN_CloudMessagingProxy.InitPushNotifications(
         AndroidNativeSettings.Instance.PushNotificationSmallIcon == null ? string.Empty : AndroidNativeSettings.Instance.PushNotificationSmallIcon.name.ToLower(),
         AndroidNativeSettings.Instance.PushNotificationLargeIcon == null ? string.Empty : AndroidNativeSettings.Instance.PushNotificationLargeIcon.name.ToLower(),
         AndroidNativeSettings.Instance.PushNotificationSound == null ? string.Empty : AndroidNativeSettings.Instance.PushNotificationSound.name,
         AndroidNativeSettings.Instance.EnableVibrationPush, AndroidNativeSettings.Instance.ShowPushWhenAppIsForeground,
         AndroidNativeSettings.Instance.ReplaceOldNotificationWithNew,
         string.Format("{0}|{1}|{2}|{3}", 255 * AndroidNativeSettings.Instance.PushNotificationColor.a,
                       255 * AndroidNativeSettings.Instance.PushNotificationColor.r,
                       255 * AndroidNativeSettings.Instance.PushNotificationColor.g,
                       255 * AndroidNativeSettings.Instance.PushNotificationColor.b));
 }
 public void HideAll()
 {
     AN_CloudMessagingProxy.HideAllNotifications();
 }
 public void RemoveLastMessageInfo()
 {
     AN_CloudMessagingProxy.GCMRemoveLastMessageInfo();
 }
 public void LoadLastMessage()
 {
     AN_CloudMessagingProxy.GCMLoadLastMessage();
 }
 public void RgisterDevice()
 {
     AN_CloudMessagingProxy.GCMRgisterDevice(AndroidNativeSettings.Instance.GCM_SenderId);
 }
 public void InitPushNotifications(string smallIcon, string largeIcon, string sound, bool enableVibrationPush, bool showWhenAppForeground, bool replaceOldNotificationWithNew, string color)
 {
     AN_CloudMessagingProxy.InitPushNotifications(smallIcon, largeIcon, sound, enableVibrationPush, showWhenAppForeground, replaceOldNotificationWithNew, color);
 }