SubscribeRequest | @here/olp-sdk-ts
Class SubscribeRequest
Hierarchy
- SubscribeRequest
Index
Constructors
constructor
Returns SubscribeRequest
Methods
get Consumer Id
Gets the consumer id for the request.
Returns undefined | string
The consumer id.
get Mode
Gets the subscription mode for the request.
Returns undefined | "serial" | "parallel"
The subscription mode.
get Subscription Id
Gets the subscription id for the request.
Returns undefined | string
The subscription id.
get Subscription Properties
Gets the subscriptionProperties for the request - consumer properties to use for this subscription.
Returns undefined | ConsumerProperties
The subscriptionProperties.
with Consumer Id
A setter for the provided consumer id.
Parameters
id: string
The consumer id.
Returns SubscribeRequest
The SubscribeRequest instance that you can use to chain methods.
with Mode
A setter for the provided subscription mode.
Parameters
mode: "serial" | "parallel"
The subscription mode.
Returns SubscribeRequest
The SubscribeRequest instance that you can use to chain methods.
with Subscription Id
A setter for the provided subscription id.
Parameters
id: string
The subscription id.
Returns SubscribeRequest
The SubscribeRequest instance that you can use to chain methods.
with Subscription Properties
A setter for the provided subscription properties.
Parameters
props: ConsumerProperties
The subscriptionProperties - consumer properties to use for this subscription. For more information, see the [subscription properties] (https://developer.here.com/documentation/data-api/data_dev_guide/rest/getting-data-stream.html#subscription-properties)
Returns SubscribeRequest
The SubscribeRequest instance that you can use to chain methods.
Generated using TypeDoc
Prepares information for calls to the platform Stream Service.