WhiteDisplayerState Class Reference
Inherits from | WhiteObject |
---|---|
Conforms to | YYModel |
Declared in | WhiteDisplayerState.h |
+ setCustomGlobalStateClass:
设置自定义全局状态。
+ (BOOL)setCustomGlobalStateClass:(Class)clazz
Parameters
clazz |
自定义全局状态类,自定义的 Note: 如果你使用 Swift,在配置 WhiteGlobalState 子类属性时,需要对属性添加 @return
|
---|
Discussion
设置后,所有 WhiteGlobalState
都会转换为该类的对象。
Declared In
WhiteDisplayerState.h
globalState
房间的全局状态。详见 WhiteGlobalState。
@property (nonatomic, strong, readonly, nullable) WhiteGlobalState *globalState
Declared In
WhiteDisplayerState.h
roomMembers
房间中所有的互动模式(具有读写权限)的用户。详见 WhiteRoomMember。
@property (nonatomic, strong, readonly, nullable) NSArray<WhiteRoomMember*> *roomMembers
Declared In
WhiteDisplayerState.h
sceneState
当前场景目录下的场景状态。详见 WhiteSceneState。
@property (nonatomic, strong, readonly, nullable) WhiteSceneState *sceneState
Declared In
WhiteDisplayerState.h
cameraState
白板内部视角状态。详见 WhiteCameraState。
@property (nonatomic, strong, readonly, nullable) WhiteCameraState *cameraState
Declared In
WhiteDisplayerState.h