AI-generated Key Takeaways
-
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 stringcredentialsType
. -
The class has two properties:
credentials
(a string for the user's credentials) andcredentialsType
(a string indicating the platform the credentials were sent from, defaulting to "web").
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.