淘汰項目清單
- 課程 <GCKRemoteMediaClientAdInfoParserDelegate>
- 成員 [GCKCastContext(UI) presentCastInstructionsViewControllerOnce]
- Use presentCastInstructionsViewControllerOnceWithCastButton:.
- 成員 [GCKCastContext(UI) presentCastInstructionsViewControllerOnce]
- Use presentCastInstructionsViewControllerOnceWithCastButton:.
- 成員 [GCKCastOptions initWithReceiverApplicationID:]
- 使用 initWithDiscoveryCriteria:。
- 成員 [GCKCastOptions initWithSupportedNamespaces:]
- 使用 initWithDiscoveryCriteria:。
- 成員 [GCKDeviceProvider createSessionForDevice:sessionID:]
- 子類別應改為呼叫 createSessionForDevice:sessionID:sessionOptions。
- 成員 [GCKDeviceProvider(Protected) createDeviceWithID:ipAddress:servicePort:]
- 使用 createDeviceWithID:networkAddress:servicePort: 支援 IPv4 和 IPv6
- 成員 [GCKDeviceProvider(Protected) createDeviceWithID:ipAddress:servicePort:]
- 使用 createDeviceWithID:networkAddress:servicePort: 支援 IPv4 和 IPv6
- 成員 [GCKLoggerDelegate-p logMessage:fromFunction:]
- 請改用 logMessage:atLevel:fromFunction:location: (GCKLoggerDelegate-p)。
- 成員 [GCKLoggerFilter addClassNames:]
- 請改用 setLoggingLevel:forClasses:。
- 成員 [GCKLoggerFilter addClassNames:minimumLogLevel:]
- 請改用 setLoggingLevel:forClasses:。
- 成員 [GCKLoggerFilter addFunctionNames:]
- 請改用 setLoggingLevel:forFunctions:。
- 成員 [GCKLoggerFilter addFunctionNames:minimumLogLevel:]
- 請改用 setLoggingLevel:forFunctions:。
- 成員 [GCKLoggerFilter addMessagePatterns:caseInsensitive:]
- 請改用 addMessagePatterns: with inline (?-i) 或 (?i)。
- 成員 [GCKMediaInformationBuilder initWithContentID:]
- 請改用 initWithContentURL: 或 initWithEntity:。
- 成員 [GCKMediaInformationBuilder initWithContentID:entity:]
- 請改用 initWithContentURL: 或 initWithEntity:。
- 成員 [GCKRemoteMediaClient loadMedia:autoplay:]
- 使用 loadMediaWithLoadRequestData:。
- 成員 [GCKRemoteMediaClient loadMedia:autoplay:playPosition:]
- 使用 loadMediaWithLoadRequestData:。
- 成員 [GCKRemoteMediaClient loadMedia:autoplay:playPosition:activeTrackIDs:]
- 使用 loadMediaWithLoadRequestData:。
- 成員 [GCKRemoteMediaClient loadMedia:autoplay:playPosition:activeTrackIDs:customData:]
- 使用 loadMediaWithLoadRequestData:。
- 成員 [GCKRemoteMediaClient loadMedia:autoplay:playPosition:customData:]
- 使用 loadMediaWithLoadRequestData:。
- 成員 [GCKRemoteMediaClient queueLoadItems:startIndex:playPosition:repeatMode:customData:]
- 使用 loadMediaWithLoadRequestData:。
- 成員 [GCKRemoteMediaClient queueLoadItems:startIndex:repeatMode:]
- 使用 loadMediaWithLoadRequestData:。
- 成員 [GCKRemoteMediaClient queueLoadItems:startIndex:repeatMode:customData:]
- 使用 loadMediaWithLoadRequestData:。
- 成員 [GCKRemoteMediaClient seekToTimeInterval:]
- 使用 seekWithOptions:
- 成員 [GCKRemoteMediaClient seekToTimeInterval:resumeState:]
- 使用 seekWithOptions:
- 成員 [GCKRemoteMediaClient seekToTimeInterval:resumeState:customData:]
- 使用 seekWithOptions:
- 成員 [GCKSession(Protected) notifyDidResume]
- 請勿撥打。
- 成員 [GCKSession(Protected) notifyDidResume]
- 請勿撥打。
- 成員 [GCKSession(Protected) notifyDidSuspendWithReason:]
- 請勿撥打。
- 成員 [GCKSession(Protected) notifyDidSuspendWithReason:]
- 請勿撥打。
- 成員 GCKDevice::ipAddress
- 使用 networkAddress:裝置的 IPv4 位址,以點號標記法表示。用於發出網路要求。如果是使用 IPv6 位址建立的 GCKDevice 物件,這會是空字串。
- 成員 GCKLogger::minimumLevel
- 在 GCKLoggerFilter 中指定最低記錄層級。
- 成員 GCKLoggerFilter::exclusive
- 已不再實作,系統會忽略值。
- 成員 GCKMediaControlChannelResumeState
- 已重新命名為 GCKMediaResumeState。
- 成員 GCKMediaControlChannelResumeStatePause
- 請改用 GCKMediaResumeStatePause。
- 成員 GCKMediaControlChannelResumeStatePlay
- 請改用 GCKMediaResumeStatePlay。
- 成員 GCKMediaControlChannelResumeStateUnchanged
- 請改用 GCKMediaResumeStateUnchanged。
- 成員 GCKMediaInformationBuilder::contentID
- 請改用 contentURL 和實體。
- 成員 GCKMediaStatus::playingAd
- 請改用 adBreakStatus。
- 成員 GCKRemoteMediaClient::adInfoParserDelegate
- 請改用 GCKAdBreakStatus。
- 成員 GCKSession::suspended
- GCKSession 不再支援暫停狀態。視需要將這項功能移至子類別。
- 課程 GCKUIButton
- 使用 GCKUIMultistateButton。
- 成立時間
- 3.0
- 成員 GCKUICastButton::triggersDefaultCastDialog
- 使用 GCKUICastButtonDelegate 方法回應使用者對 Cast 按鈕執行的動作。
- 成員 GCKUIControlStateMuteOff
- 搭配使用 GCKUIButtonStateMuteOff 與 GCKUIMultistateButton。
- 成立時間
- 3.0
- 成員 GCKUIControlStateMuteOn
- 使用 GCKUIButtonStateMuteOn 搭配 GCKUIMultistateButton。
- 成立時間
- 3.0
- 成員 GCKUIControlStatePause
- 搭配使用 GCKUIButtonStatePause 與 GCKUIMultistateButton。
- 成立時間
- 3.0
- 成員 GCKUIControlStatePlay
- 搭配 GCKUIMultistateButton 使用 GCKUIButtonStatePlay。
- 成立時間
- 3.0
- 成員 GCKUIControlStateRepeatAll
- 將 GCKUIButtonStateRepeatAll 與 GCKUIMultistateButton 搭配使用。
- 成立時間
- 3.0
- 成員 GCKUIControlStateRepeatOff
- 使用 GCKUIButtonStateRepeatOff 搭配 GCKUIMultistateButton。
- 成立時間
- 3.0
- 成員 GCKUIControlStateRepeatSingle
- 搭配 GCKUIMultistateButton 使用 GCKUIButtonStateRepeatSingle。
- 成立時間
- 3.0
- 成員 GCKUIControlStateShuffle
- 搭配使用 GCKUIButtonStateShuffle 與 GCKUIMultistateButton。
- 成立時間
- 3.0