總覽
接收端應用程式啟動選項。
必須先變更這個物件,才能將其傳送至 GCKCastContext。
繼承 NSObject、<NSclone> 和 <NSSecureCoding>。
| 執行個體方法摘要 | |
| (instancetype) | - init | 
| 使用預設值初始化物件。更多... | |
| (instancetype) | - initWithRelaunchIfRunning: | 
| 使用傳送者裝置的語言代碼和指定的重新啟動行為來初始化物件。更多... | |
| (instancetype) | - initWithLanguageCode:relaunchIfRunning: | 
| 使用指定的語言代碼初始化物件,並重新啟動行為。更多... | |
| (instancetype) | - initWithRelaunchIfRunning:androidReceiverCompatible: | 
| 使用傳送者裝置的語言代碼、指定的重新啟動行為,以及傳送者應用程式是否支援 Android TV 應用程式來初始化物件。更多... | |
| (instancetype) | - initWithRelaunchIfRunning:languageCode:androidReceiverCompatible: | 
| 指定初始化器。更多... | |
| 資源摘要 | |
| NSString * | languageCode | 
| 依據 RFC 5646 規定,寄件者的語言代碼。更多... | |
| BOOL | relaunchIfRunning | 
| 此標記用於表示如果接收器應用程式已在執行,是否應重新啟動。更多... | |
| BOOL | androidReceiverCompatible | 
| 此標記用於指出傳送者應用程式是否支援投放至 Android TV 應用程式。更多... | |
方法詳細資料
| - (instancetype) init | 
使用預設值初始化物件。
| - (instancetype) initWithRelaunchIfRunning: | (BOOL) | relaunchIfRunning | 
使用傳送者裝置的語言代碼和指定的重新啟動行為來初始化物件。
| - (instancetype) initWithLanguageCode: | (nullable NSString *) | languageCode | |
| relaunchIfRunning: | (BOOL) | relaunchIfRunning | |
使用指定的語言代碼初始化物件,並重新啟動行為。
- 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. 
| - (instancetype) initWithRelaunchIfRunning: | (BOOL) | relaunchIfRunning | |
| androidReceiverCompatible: | (BOOL) | androidReceiverCompatible | |
使用傳送者裝置的語言代碼、指定的重新啟動行為,以及傳送者應用程式是否支援 Android TV 應用程式來初始化物件。
- 開始時間
- 4.4.7
| - (instancetype) initWithRelaunchIfRunning: | (BOOL) | relaunchIfRunning | |
| languageCode: | (nullable NSString *) | languageCode | |
| androidReceiverCompatible: | (BOOL) | androidReceiverCompatible | |
指定初始化器。
使用指定的語言代碼、重新啟動行為和 Android TV 應用程式支援來初始化物件。
- 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. 
- 開始時間
- 4.4.7
資源詳情
| 
 | readwritenonatomiccopy | 
依據 RFC 5646 規定,寄件者的語言代碼。
預設值為傳送者裝置的語言。
| 
 | readwritenonatomicassign | 
此標記用於表示如果接收器應用程式已在執行,是否應重新啟動。
預設值為 NO。
| 
 | readwritenonatomicassign | 
此標記用於指出傳送者應用程式是否支援投放至 Android TV 應用程式。
預設值為 NO。
- 開始時間
- 4.4.7