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_launch_options below:

GCKLaunchOptions Class | Cast | Google for Developers

GCKLaunchOptions Class

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

Receiver application launch options.

Changes to this object must be made before passing it to the GCKCastContext.

Inherits NSObject, <NSCopying>, and <NSSecureCoding>.

Initializes the object with default values.

- (instancetype) initWithRelaunchIfRunning: (BOOL)  relaunchIfRunning

Initializes the object with the sender device's language code and the specified relaunch behavior.

- (instancetype) initWithLanguageCode: (nullable NSString *)  languageCode relaunchIfRunning: (BOOL)  relaunchIfRunning 

Initializes the object with the specified language code and relaunch behavior.

Parameters
languageCode The language code as per RFC 5646. relaunchIfRunning A flag indicating whether the receiver application should be relaunched if it is already running.

Initializes the object with the sender device's language code, the specified relaunch behavior and if the sender application supports Android TV application.

Since
4.4.7
- (instancetype) initWithRelaunchIfRunning: (BOOL)  relaunchIfRunning languageCode: (nullable NSString *)  languageCode androidReceiverCompatible: (BOOL)  androidReceiverCompatible 

Designated initializer.

Initializes the object with the specified language code, relaunch behavior and support for Android TV application.

Parameters
relaunchIfRunning A flag indicating whether the receiver application should be relaunched languageCode The language code as per RFC 5646. androidReceiverCompatible A flag indicating whether the sender application supports Android application on the receiver side.
Since
4.4.7
- (NSString*) languageCode readwritenonatomiccopy

The sender's language code as per RFC 5646.

The default is the sender device's language.

- (BOOL) relaunchIfRunning readwritenonatomicassign

A flag indicating whether the receiver application should be relaunched if it is already running.

The default is NO.

- (BOOL) androidReceiverCompatible readwritenonatomicassign

A flag indicating whether the sender application supports casting to an Android TV application.

Default value is NO.

Since
4.4.7

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."],[[["`GCKLaunchOptions` configures how receiver applications are launched on Cast devices."],["It allows setting the language, relaunch behavior, and Android TV app compatibility."],["Options should be set before passing the instance to `GCKCastContext`."],["Default settings use the sender's language, don't relaunch if the app is running, and don't support Android TV apps."]]],[]]


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