Skip to main content

Class PocketNotificationMessage

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for PocketNotificationMessage. Describes behaviour and content for a push notification message

Inheritance

objectPocketNotificationMessage

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

PocketNotificationMessage()

Default constructor - defaults any enum props to 0.

Properties

Date

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

Property Value

DateTime

Duration

Specify duration of the event

Property Value

TimeSpan

ExtraValues

Additional key/value properties to include in the message

Property Value

StringDictionary

Message

The notification message body

Property Value

string

RecordId

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

Property Value

int

Silent

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

Property Value

bool

TimeToLive

Specifies how many minutes the message should be valid

Property Value

int

Title

Title for the notification

Property Value

string

Type

The type of notification this is NULL if unknown enum value.

Property Value

NotificationMessageType?

See Also

PocketNotificationMessage.Type_String

Type_String

The type of notification this is Raw string enum value.

Property Value

string

See Also

PocketNotificationMessage.Type

Url

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

Property Value

string

See Also

PocketAgent