public static Task RemovePagesTaskAsync(this IBandTileManager manager, NSUuid tileId)
        {
            var tcs = new TaskCompletionSource <object> ();

            manager.RemovePagesAsync(tileId, tcs.AttachCompletionHandler());
            return(tcs.Task);
        }
Example #2
0
 public static async Task <bool> RemovePagesTaskAsync(this IBandTileManager manager, Java.Util.UUID tileId)
 {
     return((bool)await manager.RemovePagesAsync(tileId).AsTask());
 }