HMSStore<T>
Type parameters
Name | Type |
---|---|
T | extends HMSGenericTypes = { sessionStore : Record <string , any > } |
Properties
appData
• Optional
appData: Record
<string
, any
>
connectionQualities
• connectionQualities: Record
<string
, HMSConnectionQuality
>
devices
• devices: DeviceMap
errors
• errors: HMSException
[]
messages
• messages: Object
Type declaration
Name | Type |
---|---|
allIDs | string [] |
byID | Record <string , HMSMessage > |
peers
• peers: Record
<string
, HMSPeer
>
playlist
• playlist: HMSPlaylist
<any
>
polls
• polls: Record
<string
, HMSPoll
>
preview
• Optional
preview: Object
Type declaration
Name | Type |
---|---|
asRole? | string |
audioTrack? | string |
localPeer? | string |
videoTrack? | string |
roleChangeRequests
• roleChangeRequests: HMSRoleChangeStoreRequest
[]
roles
• roles: Record
<string
, HMSRole
>
room
• room: HMSRoom
sessionMetadata
• Optional
sessionMetadata: any
Deprecated
use sessionStore
instead
sessionStore
• sessionStore: T
["sessionStore"
]
settings
• settings: HMSMediaSettings
speakers
• speakers: Record
<string
, HMSSpeaker
>
templateAppData
• templateAppData: Record
<string
, string
>
tracks
• tracks: Record
<string
, HMSTrack
>
whiteboards
• whiteboards: Record
<string
, HMSWhiteboard
>
Have a suggestion? Recommend changes ->