GCKLaunchOptions Class

GCKLaunchOptions Class Reference

Overview

Receiver application launch options.

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

Instance Method Summary

(instancetype) - init
 Initializes the object with default values. More...
 
(instancetype) - initWithRelaunchIfRunning:
 Initializes the object with the system's language and the given relaunch behavior. More...
 
(instancetype) - initWithLanguageCode:relaunchIfRunning:
 Designated initializer. More...
 

Properties

NSString * languageCode
 The sender's language code as per RFC 5646. More...
 
BOOL relaunchIfRunning
 A flag indicating whether the receiver application should be relaunched if it is already running. More...
 

Method Detail

- (instancetype) init

Initializes the object with default values.

- (instancetype) initWithRelaunchIfRunning: (BOOL)  relaunchIfRunning

Initializes the object with the system's language and the given relaunch behavior.

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

Designated initializer.

Property Documentation

- (NSString*) languageCode
readwritenonatomiccopy

The sender's language code as per RFC 5646.

The default is the system's language.

- (BOOL) relaunchIfRunning
readwritenonatomicassign

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

The default is NO.

Google Cast iOS Sender API Reference v 2.10.1 4691