Class PocketDeviceInfo
Describes a device running Pocket CRM
Carrier object for PocketDeviceInfo. Services for the PocketDeviceInfo Carrier is available from the IPocketAgent.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class PocketDeviceInfo : Object
Constructors
PocketDeviceInfo()
Default constructor
Declaration
public PocketDeviceInfo()
See Also
Properties
DeviceIdentifier
A unique identifier of this device. This value should always be the same for the same device
Declaration
public virtual string DeviceIdentifier { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
DeviceName
A friendly display name for the device. Ex: 'Bobbys iPhone 5S'
Declaration
public virtual string DeviceName { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Language
The language which this device will receive notifications translated in
Declaration
public virtual string Language { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
OSVersion
The operating system version. Ex: 'iOS v10.2'
Declaration
public virtual string OSVersion { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
Platform
What platform does this device belong to
Declaration
public virtual NotificationPlatform Platform { get; set; }
Property Value
Type | Description |
---|---|
NotificationPlatform |
See Also
PNSHandle
The identifier associated with the device that will be used when talking with vendors push services
Declaration
public virtual string PNSHandle { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
PocketVersion
What version of Pocket CRM this device is running. Ex: '8.0.37'
Declaration
public virtual string PocketVersion { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
TimeZoneId
The timezone to show for dates in messages
Declaration
public virtual int TimeZoneId { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
See Also
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. |