Exemplo n.º 1
0
 public static Task SendMessageTaskAsync(this IBandNotificationManager manager, Java.Util.UUID tileId, string title, string body, DateTime date, bool showDialog)
 {
     return(manager.SendMessageTaskAsync(tileId, title, body, date, showDialog ? MessageFlags.ShowDialog : MessageFlags.None));
 }
Exemplo n.º 2
0
        public static Task SendMessageTaskAsync(this IBandNotificationManager manager, Java.Util.UUID tileId, string title, string body, DateTime date, MessageFlags flags)
        {
            var javaDate = new Java.Util.Date(date.Year, date.Month, date.Day, date.Hour, date.Minute, date.Second);

            return(manager.SendMessageTaskAsync(tileId, title, body, javaDate, flags));
        }
 public static Task SendMessageTaskAsync(this IBandNotificationManager manager, NSUuid tileID, string title, string body, DateTime timeStamp)
 {
     return(manager.SendMessageTaskAsync(tileID, title, body, (NSDate)timeStamp));
 }
 public static Task SendMessageTaskAsync(this IBandNotificationManager manager, NSUuid tileID, string title, string body, NSDate timeStamp, bool showDialog)
 {
     return(manager.SendMessageTaskAsync(tileID, title, body, timeStamp, showDialog ? MessageFlags.ShowDialog : MessageFlags.None));
 }
Exemplo n.º 5
0
 public static Task SendMessageTaskAsync(this IBandNotificationManager manager, Java.Util.UUID tileId, string title, string body, DateTime date, MessageFlags flags)
 {
     return(manager.SendMessageTaskAsync(tileId, title, body, new Java.Util.Date(date.Year, date.Month, date.Day), flags));
 }
        public static Task SendMessageTaskAsync(this IBandNotificationManager manager, Java.Util.UUID tileId, string title, string body, DateTime date, MessageFlags flags)
        {
            var javaDate = new Java.Util.Date((long)(date.ToUniversalTime() - JavaEpoch).TotalMilliseconds);

            return(manager.SendMessageTaskAsync(tileId, title, body, javaDate, flags));
        }