public static Task ShowDialogTaskAsync(this IBandNotificationManager manager, NSUuid tileID, string title, string body)
        {
            var tcs = new TaskCompletionSource <object> ();

            manager.ShowDialogAsync(tileID, title, body, tcs.AttachCompletionHandler());
            return(tcs.Task);
        }
示例#2
0
 public static Task ShowDialogTaskAsync(this IBandNotificationManager manager, Java.Util.UUID tileId, string title, string body)
 {
     return(manager.ShowDialogAsync(tileId, title, body).AsTask());
 }