AI-generated Key Takeaways
-
CredentialsData
stores user credentials and their type for sender identification in Chromecast applications. -
It includes
credentials
for user authentication andcredentialsType
indicating the platform origin (defaulting to "web"). -
Developers can create a
CredentialsData
object using the constructor withcredentials
and optionalcredentialsType
parameters. -
The
credentials
andcredentialsType
properties provide access to the stored credential information.
chrome.cast. CredentialsData
Credentials data used to identify the credentials of the sender.
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.