WhiteDisplayerState Class Reference
Inherits from | WhiteObject |
---|---|
Conforms to | YYModel |
Declared in | WhiteDisplayerState.h |
+ setCustomGlobalStateClass:
Sets the customized GlobalState
class.
+ (BOOL)setCustomGlobalStateClass:(Class)clazz
Parameters
clazz |
The customized Note: If you use Swift, you need to add the @return
|
---|
Discussion
A successful call of this method casts all WhiteGlobalState
variables to the instances of the customized class.
Declared In
WhiteDisplayerState.h
globalState
The global state of the room. See WhiteGlobalState.
@property (nonatomic, strong, readonly, nullable) WhiteGlobalState *globalState
Declared In
WhiteDisplayerState.h
roomMembers
The users in interactive mode (with read and write permissions). See WhiteRoomMember.
@property (nonatomic, strong, readonly, nullable) NSArray<WhiteRoomMember*> *roomMembers
Declared In
WhiteDisplayerState.h
sceneState
The state of the scenes under the current scene directory. See WhiteSceneState.
@property (nonatomic, strong, readonly, nullable) WhiteSceneState *sceneState
Declared In
WhiteDisplayerState.h
cameraState
The state of the camera. See WhiteCameraState.
@property (nonatomic, strong, readonly, nullable) WhiteCameraState *cameraState
Declared In
WhiteDisplayerState.h