Package com.ringcentral.definitions
Class NotificationDeliveryMode
java.lang.Object
com.ringcentral.definitions.NotificationDeliveryMode
Notification delivery transport information
-
Field Summary
FieldsModifier and TypeFieldDescriptionPubNub channel name Required Format: uri Example: 54770517599294_6dda849eCertificate name for mobile notification transports Required(Only for an `Internal` transport) The name of internal channel (defined in the backend service configuration) to deliver notifications through.Optional.(Only for a `PubNub` transport, returned only if `encryption` is `true`) Encryption algorithm used Enum: AES(Only for a `PubNub` transport, returned only if `encryption` is `true`) Cryptographic key to decrypt PubNub notification messagesDevice instance ID for mobile notification transports Required Example: 38b062ae-85f8-4dcc-8734-04d3f7393d42(Only for a `PubNub` transport) PubNub credential required to subscribe to the channel Required(Only for a `PubNub` transport) PubNub credential required to subscribe to the channel RequiredThe transport type for this subscription Required Enum: WebHook, WebSocket, RC/APNS, RC/GCM, PubNub, Internal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncertificateName(String certificateName) configName(String configName) encryption(Boolean encryption) encryptionAlgorithm(String encryptionAlgorithm) encryptionKey(String encryptionKey) registrationId(String registrationId) subscriberKey(String subscriberKey) transportType(String transportType)
-
Field Details
-
transportType
The transport type for this subscription Required Enum: WebHook, WebSocket, RC/APNS, RC/GCM, PubNub, Internal -
address
PubNub channel name Required Format: uri Example: 54770517599294_6dda849e -
encryption
Optional. Specifies if notification messages will be encrypted or not. Please note that for some event filters (e.g. presence) encryption is mandatory and `false` value provided by caller will be ignored. Required Enum: false -
certificateName
Certificate name for mobile notification transports Required -
registrationId
Device instance ID for mobile notification transports Required Example: 38b062ae-85f8-4dcc-8734-04d3f7393d42 -
subscriberKey
(Only for a `PubNub` transport) PubNub credential required to subscribe to the channel Required -
secretKey
(Only for a `PubNub` transport) PubNub credential required to subscribe to the channel Required -
encryptionAlgorithm
(Only for a `PubNub` transport, returned only if `encryption` is `true`) Encryption algorithm used Enum: AES -
encryptionKey
(Only for a `PubNub` transport, returned only if `encryption` is `true`) Cryptographic key to decrypt PubNub notification messages -
configName
(Only for an `Internal` transport) The name of internal channel (defined in the backend service configuration) to deliver notifications through. Required Example: my-server-channel
-
-
Constructor Details
-
NotificationDeliveryMode
public NotificationDeliveryMode()
-
-
Method Details
-
transportType
-
address
-
encryption
-
certificateName
-
registrationId
-
subscriberKey
-
secretKey
-
encryptionAlgorithm
-
encryptionKey
-
configName
-