GCKLaunchOptions Class Reference

Receiver application launch options. More...

#import <GCKLaunchOptions.h>

+ Inheritance diagram for GCKLaunchOptions:

Instance Methods

(instancetype) - init
 Initializes the object with default values. More...
 
(instancetype) - initWithRelaunchIfRunning:
 Initializes the object with the sender device's language code and the specified 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...
 

Detailed Description

Receiver application launch options.

Method Documentation

- (instancetype) init

Initializes the object with default values.

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

Designated initializer.

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

Parameters
languageCodeThe language code as per RFC 5646.
relaunchIfRunningA flag indicating whether the receiver application should be relaunched if it is already running.
- (instancetype) initWithRelaunchIfRunning: (BOOL)  relaunchIfRunning

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

Property Documentation

- (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.


The documentation for this class was generated from the following file: