BlazeContentRestrictionHandleType
BlazeContentRestrictionHandleType
BlazeContentRestrictionHandleType is the return type of onContentRestricted. It tells the SDK whether the host took care of the refusal. In the current version both values lead to the same SDK behaviour: the item is held (not skipped), the controls and indicators that promise playback are removed, and playback does not start.
enum class BlazeContentRestrictionHandleType {
HANDLED_BY_APP,
SDK_SHOULD_HANDLE
}| Value | Description |
|---|---|
| HANDLED_BY_APP | The host took care of the refusal, for example with its own paywall. In a later version the SDK will then leave the presentation of the refused item to the host. |
| SDK_SHOULD_HANDLE | The host did not take care of the refusal. This is the default return value. In a later version the SDK will add its own presentation of the refused item. |
Implementing nothing is the same as returning SDK_SHOULD_HANDLE.
Updated 13 days ago
Did this page help you?
