Class: CredentialsData

  • chrome.cast.CredentialsData is a static class used to identify the credentials of the sender.

  • Its constructor, CredentialsData, takes a string credentials and an optional string credentialsType.

  • The class has two properties: credentials (a string for the user's credentials) and credentialsType (a string indicating the platform the credentials were sent from, defaulting to "web").

Constructor

CredentialsData

new CredentialsData(credentials, credentialsType)

Parameter

credentials

string

The credentials for the user.

credentialsType

Optional

string

The credentials type indicating which platform the credentials were sent from. This defaults to web or can be custom-defined.

Properties

credentials

string

The credentials for the user.

credentialsType

string

The credentials type indicating which platform the credentials were sent from. This defaults to web or can be custom-defined.