GCKLaunchOptions 類別

GCKLaunchOptions 類別參考資料

總覽

接收端應用程式啟動選項。

繼承 NSObject、<NSCopying> 和 <NSCoding>。

執行個體方法摘要

(instancetype) - init
 使用預設值初始化物件。更多...
 
(instancetype) - initWithRelaunchIfRunning:
 使用傳送端裝置的語言代碼和指定的重新啟動行為,初始化物件。更多...
 
(instancetype) - initWithLanguageCode:relaunchIfRunning:
 指定初始化器。更多...
 

房源摘要

NSString * languageCode
 寄件者的語言代碼 (如 RFC 5646 所述)。更多...
 
BOOL relaunchIfRunning
 這個旗標表示接收器應用程式是否應重新啟動 (如果已在執行中)。更多...
 

方法詳細資料

- (instancetype) init

使用預設值初始化物件。

- (instancetype) initWithRelaunchIfRunning: (BOOL)  relaunchIfRunning

使用傳送端裝置的語言代碼和指定的重新啟動行為,初始化物件。

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

指定初始化器。

使用指定的語言代碼和重新啟動行為初始化物件。

Parameters
languageCodeThe language code as per RFC 5646.
relaunchIfRunningA flag indicating whether the receiver application should be relaunched if it is already running.

資源詳細資料

- (NSString*) languageCode
readwritenonatomiccopy

寄件者的語言代碼 (如 RFC 5646 所述)。

預設為傳送者裝置的語言。

- (BOOL) relaunchIfRunning
readwritenonatomicassign

此標記用於指出接收器應用程式是否應重新啟動 (如果已在執行中)。

預設值為 NO