コード例 #1
0
ファイル: ParsePush.cs プロジェクト: longyunzhou/NFC
 /// <summary>
 /// Request a push to be sent. When this task completes, LeanCloud has successfully acknowledged a request
 /// to send push notifications but has not necessarily finished sending all notifications
 /// requested. The current status of recent push notifications can be seen in your Push Notifications
 /// console on http://parse.com
 /// </summary>
 /// <param name="cancellationToken">CancellationToken to cancel the current operation.</param>
 public Task SendAsync(CancellationToken cancellationToken)
 {
     return(PushController.SendPushNotificationAsync(state, cancellationToken));
 }
コード例 #2
0
 /// <summary>
 /// Request a push to be sent. When this task completes, LeanCloud has successfully acknowledged a request
 /// to send push notifications but has not necessarily finished sending all notifications
 /// requested. The current status of recent push notifications can be seen in your Push Notifications
 /// console on https://api.leancloud.cn
 /// </summary>
 /// <param name="cancellationToken">CancellationToken to cancel the current operation.</param>
 public Task SendAsync(CancellationToken cancellationToken)
 {
     return(PushController.SendPushNotificationAsync(state, AVUser.CurrentSessionToken, cancellationToken));
 }