Objective-CclassHomeKit
_HMMediaSession
@interface _HMMediaSession : NSObject <HMFMessageReceiver, HMObjectMerge>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolHMFMessageReceiver
- protocolHMObjectMerge
Members 69
- ivar
HMAudioControl *_audioControl;+0x58 - ivar
_HMContext *_context;+0x40 - ivar
id <_HMMediaSessionDelegate> _delegate;+0x68 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lock;+0x8 - ivar
NSString *_mediaUniqueIdentifier;+0x38 - ivar
NSUUID *_messageTargetUUID;+0x50 - ivar
long long _playbackState;+0x20 - ivar
long long _repeatState;+0x30 - ivar
NSString *_routeUID;+0x18 - ivar
long long _shuffleState;+0x28 - ivar
unsigned long long _sleepWakeState;+0x60 - ivar
NSUUID *_uniqueIdentifier;+0x48 - ivar
NSUUID *_uuid;+0x10 - method
- (void).cxx_destruct; - method
- (void)_handleSessionPlaybackUpdated:(id)arg0; - method
- (void)_handleSessionRouteUIDUpdated:(id)arg0; - method
- (void)_notifyDelegateOfUpdatedMediaState; - method
- (void)_notifyDelegateOfUpdatedPlaybackState:(long long)arg0; - method
- (void)_notifyDelegateOfUpdatedRouteUID:(id)arg0; - method
- (void)_registerNotificationHandlers; - method
- (void)_updateMediaState:(id)arg0 completion:(id /* block */)arg1; - method
- (id)audioControl; - method
- (id)context; - method
- (id)delegate; - method
- (unsigned long long)hash; - method
- (id)initWithUUID:(id)arg0 routeUID:(id)arg1 playbackState:(long long)arg2 shuffleState:(long long)arg3 repeatState:(long long)arg4 audioControl:(id)arg5 mediaUniqueIdentifier:(id)arg6 sleepWakeState:(unsigned long long)arg7; - method
- (BOOL)isEqual:(id)arg0; - method
- (id)mediaUniqueIdentifier; - method
- (BOOL)mergeFromNewObject:(id)arg0; - method
- (id)messageDestination; - method
- (id)messageTargetUUID; - method
- (long long)playbackState; - method
- (void)refreshPlaybackStateWithCompletionHandler:(id /* block */)arg0; - method
- (long long)repeatState; - method
- (id)routeUID; - method
- (void)setContext:(id)arg0; - method
- (void)setDelegate:(id)arg0; - method
- (void)setMediaUniqueIdentifier:(id)arg0; - method
- (void)setMessageTargetUUID:(id)arg0; - method
- (void)setPlaybackState:(long long)arg0; - method
- (void)setPlaybackState:(long long)arg0 completionHandler:(id /* block */)arg1; - method
- (void)setRepeatState:(long long)arg0; - method
- (void)setRouteUID:(id)arg0; - method
- (void)setShuffleState:(long long)arg0; - method
- (void)setSleepWakeState:(unsigned long long)arg0; - method
- (void)setUuid:(id)arg0; - method
- (long long)shuffleState; - method
- (unsigned long long)sleepWakeState; - method
- (id)uniqueIdentifier; - method
- (void)updateMediaState:(id)arg0; - method
- (void)updatePlaybackState:(id)arg0; - method
- (id)uuid; - property
@property(readonly) HMAudioControl *audioControl; - property
@property(retain, nonatomic) _HMContext *context; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(weak, nonatomic) id <_HMMediaSessionDelegate> delegate; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) unsigned long long hash; - property
@property(readonly, copy) NSString *mediaUniqueIdentifier; - property
@property(readonly, retain, nonatomic) NSObject<OS_dispatch_queue> *messageReceiveQueue; - property
@property(retain, nonatomic) NSUUID *messageTargetUUID; - property
@property(readonly) long long playbackState; - property
@property(readonly) long long repeatState; - property
@property(readonly, nonatomic) NSString *routeUID; - property
@property(readonly) long long shuffleState; - property
@property(readonly) unsigned long long sleepWakeState; - property
@property(readonly) Class superclass; - property
@property(readonly, nonatomic) NSUUID *uniqueIdentifier; - property
@property(readonly, nonatomic) NSUUID *uuid;
Header
@interface _HMMediaSession : NSObject <HMFMessageReceiver, HMObjectMerge> { struct os_unfair_lock_s _lock; NSUUID *_uuid; NSString *_routeUID; long long _playbackState; long long _shuffleState; long long _repeatState; NSString *_mediaUniqueIdentifier; _HMContext *_context; NSUUID *_uniqueIdentifier; NSUUID *_messageTargetUUID; HMAudioControl *_audioControl; unsigned long long _sleepWakeState; id<_HMMediaSessionDelegate> _delegate; } @property (nonatomic, readonly) NSUUID *uuid; @property (nonatomic, readonly) NSUUID *uniqueIdentifier; @property (nonatomic, strong) NSUUID *messageTargetUUID; @property (nonatomic, weak) id<_HMMediaSessionDelegate> delegate; @property (readonly) long long playbackState; @property (readonly) long long shuffleState; @property (readonly) long long repeatState; @property (copy, readonly) NSString *mediaUniqueIdentifier; @property (nonatomic, readonly) NSString *routeUID; @property (nonatomic, strong) _HMContext *context; @property (readonly) HMAudioControl *audioControl; @property (readonly) unsigned long long sleepWakeState; @property (nonatomic, strong, readonly) NSObject<OS_dispatch_queue> *messageReceiveQueue; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; - (void)setContext:(id)context; - (void)setPlaybackState:(long long)playbackState; - (long long)playbackState; - (unsigned long long)hash; - (id)routeUID; - (id)uuid; - (void)setDelegate:(id)delegate; - (id)messageDestination; - (void).cxx_destruct; - (id)uniqueIdentifier; - (BOOL)isEqual:(id)isEqual; - (BOOL)mergeFromNewObject:(id)newObject; - (id)delegate; - (id)context; - (id)messageTargetUUID; - (void)setUuid:(id)uuid; - (void)setRepeatState:(long long)repeatState; - (void)_handleSessionPlaybackUpdated:(id)_handleSessionPlaybackUpdated; - (void)_handleSessionRouteUIDUpdated:(id)_handleSessionRouteUIDUpdated; - (void)_notifyDelegateOfUpdatedMediaState; - (void)_notifyDelegateOfUpdatedPlaybackState:(long long)updatedPlaybackState; - (void)_notifyDelegateOfUpdatedRouteUID:(id)updatedRouteUID; - (void)_registerNotificationHandlers; - (void)_updateMediaState:(id)_updateMediaState completion:(id /* block */)completion; - (id)audioControl; - (id)initWithUUID:(id)uUID routeUID:(id)routeUID playbackState:(long long)playbackState shuffleState:(long long)shuffleState repeatState:(long long)repeatState audioControl:(id)audioControl mediaUniqueIdentifier:(id)mediaUniqueIdentifier sleepWakeState:(unsigned long long)sleepWakeState; - (id)mediaUniqueIdentifier; - (void)refreshPlaybackStateWithCompletionHandler:(id /* block */)completionHandler; - (long long)repeatState; - (void)setMediaUniqueIdentifier:(id)mediaUniqueIdentifier; - (void)setMessageTargetUUID:(id)messageTargetUUID; - (void)setPlaybackState:(long long)playbackState completionHandler:(id /* block */)completionHandler; - (void)setRouteUID:(id)routeUID; - (void)setShuffleState:(long long)shuffleState; - (void)setSleepWakeState:(unsigned long long)sleepWakeState; - (long long)shuffleState; - (unsigned long long)sleepWakeState; - (void)updateMediaState:(id)updateMediaState; - (void)updatePlaybackState:(id)updatePlaybackState; @end