3 #import <GoogleCast/GCKSession.h> 4 #import <GoogleCast/GCKSessionOptions.h> 6 #import <Foundation/Foundation.h> 15 @protocol GCKCastDeviceStatusListener;
17 GCK_ASSUME_NONNULL_BEGIN
56 - (instancetype)initWithDevice:(
GCKDevice *)device
57 sessionID:(NSString *GCK_NULLABLE_TYPE)sessionID
58 sessionOptions:(GCKSessionOptions *GCK_NULLABLE_TYPE)sessionOptions
84 - (void)addDeviceStatusListener:(
id<GCKCastDeviceStatusListener>)listener;
91 - (void)removeDeviceStatusListener:(
id<GCKCastDeviceStatusListener>)listener;
128 @protocol GCKCastDeviceStatusListener <NSObject>
139 didReceiveActiveInputStatus:(GCKActiveInputStatus)activeInputStatus;
148 didReceiveStandbyStatus:(GCKStandbyStatus)standbyStatus;
184 didRemoveMultizoneDeviceWithID:(NSString *)deviceID;
188 GCK_ASSUME_NONNULL_END
An object representing a receiver device.
Definition: GCKDevice.h:82
GCKRequest * requestMultizoneStatus()
Request multizone status from a multizone group.
GCKActiveInputStatus activeInputStatus
The device's current "active input" status.
Definition: GCKCastSession.h:33
The status of a multizone group.
Definition: GCKMultizoneStatus.h:17
An object for tracking an asynchronous request.
Definition: GCKRequest.h:35
An abstract base class representing a session with a receiver device.
Definition: GCKSession.h:30
Options that affect the discovery of Cast devices and the behavior of Cast sessions.
Definition: GCKCastOptions.h:19
GCKStandbyStatus standbyStatus
The device's current "standby" status.
Definition: GCKCastSession.h:38
A class that manages a Cast session with a receiver device.
Definition: GCKCastSession.h:28
A member device of a multizone group.
Definition: GCKMultizoneDevice.h:15
GCKApplicationMetadata * applicationMetadata
The metadata for the receiver application that is currently running on the receiver device...
Definition: GCKCastSession.h:44
A virtual communication channel for exchanging messages between a Cast sender and a Cast receiver...
Definition: GCKCastChannel.h:25