toggle menu
Brightcove Player SDK for Android 10.1.2
10.1.2
sdk
switch theme
search in API
sdk
/
com.brightcove.player.edge
/
BrightcoveTokenAuthorizer
Brightcove
Token
Authorizer
class
BrightcoveTokenAuthorizer
:
Authorizer
The class responsible to configure a
Video
with a Brightcove aiuthorization token.
Members
Constructors
Brightcove
Token
Authorizer
Link copied to clipboard
constructor
(
)
Instantiates a new Brightcove Token Authorizer.
Properties
BRIGHTCOVE_AUTHORIZATION_HEADER_KEY
Link copied to clipboard
val
BRIGHTCOVE_AUTHORIZATION_HEADER_KEY
:
String
=
"BCOV-Auth"
The constant BRIGHTCOVE_AUTHORIZATION_HEADER_KEY.
BRIGHTCOVE_AUTHORIZATION_QUERY_PARAM_KEY
Link copied to clipboard
val
BRIGHTCOVE_AUTHORIZATION_QUERY_PARAM_KEY
:
String
=
"bcov_auth"
The constant BRIGHTCOVE_AUTHORIZATION_QUERY_PARAM_KEY.
Functions
configure
Link copied to clipboard
open
fun
configure
(
video
:
Video
,
brightcoveAuthorizationToken
:
String
)
:
Video
Configures the video with the Authorization Token.
find
Authorization
Token
Link copied to clipboard
open
fun
findAuthorizationToken
(
video
:
Video
)
:
String
Attempts to find the Authorization Token string configured in the Video.