A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/cast/docs/reference/ios/interface_g_c_k_credentials_data below:

GCKCredentialsData Class | Cast | Google for Developers

GCKCredentialsData Class

Stay organized with collections Save and categorize content based on your preferences.

A class to maintain the application specific credentials data to identify and possibly authenticates the user.

Since
4.4.8

Inherits NSObject.

- (instancetype) initWithCredentials: (NSString *_Nullable)  credentials

Initializes and returns a newly allocated GCKCredentialsData object with the specified credentials.

The credentialsType is assigned "ios" as default value to indicate it comes from an iOS sender.

Parameters
credentials A string to identify and possibly authenticate the user. May be nil.
- (instancetype) initWithCredentials: (NSString *_Nullable)  credentials credentialsType: (NSString *_Nullable)  credentialsType 

Initializes and returns a newly allocated GCKCredentialsData object with the specified credentials and credentials type.

Parameters
credentials A string to identify and possibly authenticate the user. May be nil. credentialsType A string to identify the type of the credentials. May be nil.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-09-18 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["`GCKCredentialsData` stores application-specific credentials to identify and potentially authenticate users."],["It provides methods to initialize with credentials and a credentials type (defaulting to \"ios\" if not specified)."],["The `credentials` and `credentialsType` properties can be accessed to retrieve the stored values."],["This class is available since Google Cast SDK v4.4.8."]]],["The `GCKCredentialsData` class manages application-specific user credentials. Key actions include initializing the class instance via `-init`, `-initWithCredentials:` or `-initWithCredentials:credentialsType:`. Initialization allows setting credentials, a string for user identification and possible authentication, and optionally, `credentialsType`, identifying the credential type. The default `credentialsType` is \"ios\". The class also has read only methods `credentials` and `credentialsType` to retrieve those stored data.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4