弃用列表

弃用列表
<GCKDeviceScannerListener>
使用 GCKDiscoveryManagerGCKDiscoveryManagerListener 发现 Cast 接收器。
<GCKGameManagerChannelDelegate>
游戏管理器 API 不再受支持,并且将在未来的版本中移除。
<GCKRemoteMediaClientAdInfoParserDelegate>
我们将在未来推出新的 API。
会员 [GCKCastChannel sendTextMessage:]
使用 sendTextMessage:error: (GCKCastChannel),该方法可提供详细的错误信息。
会员 [GCKDeviceManager launchApplication:relaunchIfRunning:]
请改用 launchApplication:withLaunchOptions: (GCKDeviceManager)
会员 [GCKDeviceScanner init]
请改用 initWithFilterCriteria: (GCKDeviceScanner);请勿在不指定条件的情况下使用。
会员 [GCKFilterCriteria criteriaForRunningApplicationWithID:supportedNamespaces:]
不支持按正在运行的应用 ID 进行过滤。调用此方法将忽略 applicationID 参数,并简单地委托给 criteriaForRunningApplicationWithSupportedNamespaces: (GCKFilterCriteria)
会员 [GCKLoggerDelegate-p logFromFunction:message:]
请改用 logMessage:fromFunction: (GCKLoggerDelegate-p)
会员 [GCKLoggerFilter addClassNames:]
请改用 setLoggingLevel:forClasses: (GCKLoggerFilter)
会员 [GCKLoggerFilter addClassNames:minimumLogLevel:]
请改用 setLoggingLevel:forClasses: (GCKLoggerFilter)
会员 [GCKLoggerFilter addFunctionNames:]
请改用 setLoggingLevel:forFunctions: (GCKLoggerFilter)
会员 [GCKLoggerFilter addFunctionNames:minimumLogLevel:]
请改用 setLoggingLevel:forFunctions: (GCKLoggerFilter)
会员 [GCKLoggerFilter addMessagePatterns:caseInsensitive:]
请改用 addMessagePatterns: (GCKLoggerFilter) 和内嵌 (?-i) 或 (?i)。
会员 [GCKMediaInformation initWithContentID:streamType:contentType:metadata:streamDuration:customData:]
使用指定初始化程序。
会员 GCKCastChannel::deviceManager
如果此渠道未注册到已弃用的 GCKDeviceManager 类,则此值为 nil
会员 GCKDevice::manufacturer
请改用 modelName 或自定义属性。
GCKDeviceManager
使用 GCKSessionManagerGCKCastSession 与 Cast 接收器互动。
会员 GCKDeviceManager::isConnected
使用 connectionState
会员 GCKDeviceManager::isConnectedToApp
使用 applicationConnectionState
GCKDeviceScanner
使用 GCKDiscoveryManager 发现 Cast 接收器。
GCKFilterCriteria
在初始化 GCKCastContext 时,使用 GCKCastOptions 指定发现条件。
GCKGameManagerChannel
游戏管理器 API 不再受支持,并且将在未来的版本中移除。
GCKGameManagerResult
游戏管理器 API 不再受支持,并且将在未来的版本中移除。
GCKGameManagerState
游戏管理器 API 不再受支持,并且将在未来的版本中移除。
会员 GCKLoggerFilter::exclusive
不再实现;值会被忽略。
GCKMediaControlChannel
使用 GCKCastSessionGCKRemoteMediaClient 属性来控制媒体播放。
会员 GCKMediaStatus::kGCKMediaCommandQueueNext
此标志目前尚未实现。
会员 GCKMediaStatus::kGCKMediaCommandQueuePrevious
此标志目前尚未实现。
会员 GCKMediaStatus::playingAd
请改用 adBreakStatus
GCKPlayerInfo
游戏管理器 API 不再受支持,并且将在未来的版本中移除。
会员 GCKRemoteMediaClient::adInfoParserDelegate
请改用 GCKAdBreakStatus
会员 kGCKDeviceCapabilityAudioIn
使用 GCKDeviceCapabilityAudioIn
会员 kGCKDeviceCapabilityAudioOut
使用 GCKDeviceCapabilityAudioOut
会员 kGCKDeviceCapabilityVideoIn
使用 GCKDeviceCapabilityVideoIn
会员 kGCKDeviceCapabilityVideoOut
使用 GCKDeviceCapabilityVideoOut