弃用列表

弃用列表
类 <GCKDeviceScannerListener>
使用 GCKDiscoveryManager 和 GCKDiscoveryManagerListener 发现 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
使用 GCKSessionManager 和 GCKCastSession 与 Cast 接收器互动。
会员 GCKDeviceManager::isConnected
使用 connectionState。
会员 GCKDeviceManager::isConnectedToApp
使用 applicationConnectionState。
类 GCKDeviceScanner
使用 GCKDiscoveryManager 发现 Cast 接收器。
类 GCKFilterCriteria
在初始化 GCKCastContext 时,使用 GCKCastOptions 指定发现条件。
类 GCKGameManagerChannel
游戏管理器 API 不再受支持,并且将在未来的版本中移除。
类 GCKGameManagerResult
游戏管理器 API 不再受支持,并且将在未来的版本中移除。
类 GCKGameManagerState
游戏管理器 API 不再受支持,并且将在未来的版本中移除。
会员 GCKLoggerFilter::exclusive
不再实现;值会被忽略。
类 GCKMediaControlChannel
使用 GCKCastSession 的 GCKRemoteMediaClient 属性来控制媒体播放。
会员 GCKMediaStatus::kGCKMediaCommandQueueNext
此标志目前尚未实现。
会员 GCKMediaStatus::kGCKMediaCommandQueuePrevious
此标志目前尚未实现。
会员 GCKMediaStatus::playingAd
请改用 adBreakStatus。
类 GCKPlayerInfo
游戏管理器 API 不再受支持,并且将在未来的版本中移除。
会员 GCKRemoteMediaClient::adInfoParserDelegate
请改用 GCKAdBreakStatus。
会员 kGCKDeviceCapabilityAudioIn
使用 GCKDeviceCapabilityAudioIn。
会员 kGCKDeviceCapabilityAudioOut
使用 GCKDeviceCapabilityAudioOut。
会员 kGCKDeviceCapabilityVideoIn
使用 GCKDeviceCapabilityVideoIn。
会员 kGCKDeviceCapabilityVideoOut
使用 GCKDeviceCapabilityVideoOut。