Show / Hide Table of Contents

Class PocketNotificationMessage

Describes behaviour and content for a push notification message

Carrier object for PocketNotificationMessage. Services for the PocketNotificationMessage Carrier is available from the Pocket Agent.
Inheritance
object
PocketNotificationMessage
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.2.0.0")]
public class PocketNotificationMessage

Constructors

PocketNotificationMessage()

Default constructor

Declaration
public PocketNotificationMessage()
See Also
IPocketAgent

Properties

Date

If the message is about some event happening at a specific date and time

Declaration
[DataMember]
public virtual DateTime Date { get; set; }
Property Value
Type Description
DateTime
See Also
IPocketAgent

Duration

Specify duration of the event

Declaration
[DataMember]
public virtual TimeSpan Duration { get; set; }
Property Value
Type Description
TimeSpan
See Also
IPocketAgent

ExtraValues

Additional key/value properties to include in the message

Declaration
[DataMember]
public virtual StringDictionary ExtraValues { get; set; }
Property Value
Type Description
StringDictionary
See Also
IPocketAgent

Message

The notification message body

Declaration
[DataMember]
public virtual string Message { get; set; }
Property Value
Type Description
string
See Also
IPocketAgent

RecordId

If the message is about some specific database record, this could be its primary key

Declaration
[DataMember]
public virtual int RecordId { get; set; }
Property Value
Type Description
int
See Also
IPocketAgent

Silent

Indicates wether or not the message will vibrate/play a sound when delivered

Declaration
[DataMember]
public virtual bool Silent { get; set; }
Property Value
Type Description
bool
See Also
IPocketAgent

TimeToLive

Specifies how many minutes the message should be valid

Declaration
[DataMember]
public virtual int TimeToLive { get; set; }
Property Value
Type Description
int
See Also
IPocketAgent

Title

Title for the notification

Declaration
[DataMember]
public virtual string Title { get; set; }
Property Value
Type Description
string
See Also
IPocketAgent

Type

The type of notification this is

Declaration
[DataMember]
public virtual NotificationMessageType Type { get; set; }
Property Value
Type Description
NotificationMessageType
See Also
IPocketAgent

Url

An url associated with the notification that will be handled by Pocket

Declaration
[DataMember]
public virtual string Url { get; set; }
Property Value
Type Description
string
See Also
IPocketAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

Overrides
object.ToString()
See Also
IPocketAgent

ToString(string)

Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.

Declaration
public string ToString(string prefix)
Parameters
Type Name Description
string prefix

The line prefix (typically used for indenting)

Returns
Type Description
string

The carrier contents.

See Also
IPocketAgent

See Also

IPocketAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top