INotificationTokenProvider

The INotificationTokenProvider model provides the firebase push notification token (currently the only one supported by Dolby.io). It is also responsible for informing if it is allowed to upload the token, and it logs strings related to notifications.

Available in the package com.voxeet.sdk.services.notification.INotificationTokenProvider.

Methods

getToken

getToken(): String

The Firebase token obtained through the SDK Firebase.

Returns: @Nullable String - The token or a null value.


isTokenUploadAllowed

isTokenUploadAllowed(): boolean

Informs whether the SDK can upload the token to Dolby.io.

Returns: boolean - the permission flag.


log

log(@NonNull log: String): void

Logs strings related to notifications.

Parameters

NameTypeDescription
logStringnon null string for logging in to the logcat bridge

Did this page help you?