/** * @brief 월드별 공지, 게임, 야간공지의 푸시 ON/OFF 설정을 할 수 있습니다. * * @param worldAllowPushNotificationList WorldAllowPushNotification List. * @param callback SetWorldsAllowPushNotificationDelegate to deal with a response to the request. * * @see Result * @see WorldAllowPushNotification */ public static void SetWorldsAllowPushNotification(List <WorldAllowPushNotification> worldAllowPushNotificationList, SetWorldsAllowPushNotificationDelegate callback) { Log.Debug("[Push] setWorldsAllowPushNotification"); PushImpl.SetWorldsAllowPushNotification(worldAllowPushNotificationList, callback); }
/** * @brief 월드별 공지, 게임, 야간공지의 푸시 ON/OFF 여부를 알 수 있습니다. * * @param callback GetWorldsAllowPushNotificationDelegate to deal with a response to the request. * * @see Result * @see WorldAllowPushNotification */ public static void GetWorldsAllowPushNotification(GetWorldsAllowPushNotificationDelegate callback) { Log.Debug("[Push] getWorldsAllowPushNotification"); PushImpl.GetWorldsAllowPushNotification(callback); }
public static void DeleteAllNotification() { Log.Debug("[Push] DeleteAllNotification"); PushImpl.DeleteAllNotification(); }
/** * @brief 공지, 게임, 야간공지의 푸시 ON/OFF를 할 수 있습니다. * * @param notice AllowPushNotification * @param game AllowPushNotification * @param nightNotice AllowPushNotification * @param callback SetAllowPushNotificationListener to deal with a response to the request. * @see SetAllowPushNotificationDelegate */ public static void SetAllowPushNotification(AllowPushNotification notice, AllowPushNotification game, AllowPushNotification nightNotice, SetAllowPushNotificationDelegate callback) { Log.Debug("[Push] SetAllowPushNotification " + " notice : " + notice + " game : " + game + " nightNotice : " + nightNotice); PushImpl.SetAllowPushNotification(notice, game, nightNotice, callback); }
/** * @brief Cancels the local notification that already set to be deliverd. * * @param localPushId Local push Id to be canceled. * @return If success to cancel the local notification returns true, else returns false. */ public static bool CancelLocalNotification(int localPushId) { Log.Debug("[Push] CancelLocalNotification"); return(PushImpl.CancelLocalNotification(localPushId)); }
/** * @brief Send a push message to me. * * @param sec bigger than 0. * @param message Push message. ex) Hello NetmarbleS. * @param notificationId bigger than 0. * @param soundFileName Push sound file name. ex)netmarble.mp3 * @param extras extras * @return localPushId */ public static int SetLocalNotification(int sec, string message, int notificationId, string soundFileName, Dictionary <string, object> extras) { Log.Debug("[Push] SetLocalNotification"); return(PushImpl.SetLocalNotification(sec, message, notificationId, soundFileName, extras)); }
public static void GetUseLocalPushNotificationList(GetUsePushNotificationDelegate callback) { Log.Debug("[Push] GetUseLocalPushNotificationList"); PushImpl.GetUseLocalPushNotificationList(callback); }
public static void SetUseLocalPushNotification(bool use, int notificationId, SetUsePushNotificationDelegate callback) { Log.Debug("[Push] SetUseLocalPushNotification use:" + use + " , notificationId : " + notificationId); PushImpl.SetUseLocalPushNotification(use, notificationId, callback); }
/** * @brief Sends a push message to other users. * @param message Push message. * @param notificationId bigger than 0. * @param playerIdList Player Id list. * @param callback Callback to deal with a response to the request. * @see SendPushNotificationDelegate */ public static void SendPushNotification(string message, int notificationId, List <string> playerIdList, SendPushNotificationDelegate callback) { Log.Debug("[Push] SendPushNotification message:" + message + " , notificationId : " + notificationId); PushImpl.SendPushNotification(message, notificationId, playerIdList, callback); }