Class PushNotificationConfig
Object holding push notification config that will be set in the contact URI parameters of the Contact header in the REGISTER, if the AccountParams is configured to allow push notifications, see PushNotificationAllowed.
This object can be accessed through the AccountParams object, which can be obtained from your Account object.
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class PushNotificationConfig : LinphoneObject
Properties
BundleIdentifier
Gets the app's bundle identifier for "contact uri parameter".
Declaration
public string BundleIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The app's bundle identifier if set, null otherwise. |
CallSnd
Gets the call_snd for "contact uri parameter".
Declaration
public string CallSnd { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The call_snd, default value "notes_of_the_optimistic.caf". |
CallStr
Gets the call_str for "contact uri parameter".
Declaration
public string CallStr { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The call_str, default value "IC_MSG". |
GroupChatStr
Gets the groupchat_str for "contact uri parameter".
Declaration
public string GroupChatStr { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The groupchat_str, default value "GC_MSG". |
MsgSnd
Gets the msg_snd for "contact uri parameter".
Declaration
public string MsgSnd { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The msg_snd, default value "msg.caf". |
MsgStr
Gets the msg_str for "contact uri parameter".
Declaration
public string MsgStr { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The msg_str, default value "IM_MSG". |
Param
Gets the param for "contact uri parameter".
Declaration
public string Param { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The param if set, null otherwise. |
Prid
Gets the prid for "contact uri parameter".
Declaration
public string Prid { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The prid if set, null otherwise. |
Provider
Gets the provider for "contact uri parameter".
Declaration
public string Provider { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The provider if set, null otherwise. |
RemoteToken
Gets the remote token for "contact uri parameter".
Declaration
public string RemoteToken { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The remote token if set, null otherwise. |
TeamId
Gets the team id for "contact uri parameter".
Declaration
public string TeamId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The team id if set, null otherwise. |
VoipToken
Gets the voip token for "contact uri parameter".
Declaration
public string VoipToken { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The voip token if set, null otherwise. |
Methods
Clone()
Instantiate a new push notification parameters with values from source.
Declaration
public PushNotificationConfig Clone()
Returns
| Type | Description |
|---|---|
| PushNotificationConfig | The newly created PushNotificationConfig object. |
IsEqual(PushNotificationConfig)
Checks if two Push Notification Configurations are identical.
Declaration
public bool IsEqual(PushNotificationConfig otherConfig)
Parameters
| Type | Name | Description |
|---|---|---|
| PushNotificationConfig | otherConfig | The PushNotificationConfig object to compare to. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True only if the two configurations are identical. |