From 88d78de3564b2c76d5a9bc4913ee2381edab9268 Mon Sep 17 00:00:00 2001 From: alaa9jo Date: Sun, 2 Jun 2013 15:03:32 +0300 Subject: [PATCH] Update BlackberryNotification.cs * Add documentation * Change default value of DeliverBeforeTimestamp --- PushSharp.Blackberry/BlackberryNotification.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/PushSharp.Blackberry/BlackberryNotification.cs b/PushSharp.Blackberry/BlackberryNotification.cs index 0857f4d1..e4ec8baf 100644 --- a/PushSharp.Blackberry/BlackberryNotification.cs +++ b/PushSharp.Blackberry/BlackberryNotification.cs @@ -23,13 +23,25 @@ public BlackberryNotification() { PushId = Guid.NewGuid ().ToString (); Recipients = new List (); - DeliverBeforeTimestamp = DateTime.UtcNow.AddSeconds(30); + DeliverBeforeTimestamp = DateTime.UtcNow.AddMinutes(5); } public string PushId { get; private set; } public QualityOfServiceLevel? QualityOfService { get;set; } + /// + /// Address (e.g. URL) that Blackberry push service could use for notification + /// of results related to the message + /// public string PpgNotifyRequestedTo { get; set; } + /// + /// Date and time by which the content must be delivered,expressed as UTC + /// Message that has aged beyond this date will not be transmitted + /// public DateTime? DeliverBeforeTimestamp { get; set; } + /// + /// Date and time after which the content should be delivered,expressed as UTC + /// Message will not be transmitted before this date + /// public DateTime? DeliverAfterTimestamp { get; set; } public List Recipients { get;set; } public string SourceReference { get; set; }