HMSSessionStore class
HMSSessionStore class takes care of the session metadata for a session
HMSUpdateListener's onSessionStoreAvailable
method returns a object of HMSSessionStore
which can be used to call session metadata methods
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addKeyChangeListener(
{required List< String> keys, required HMSKeyChangeListener hmsKeyChangeListener}) → Future<HMSException?> - addKeyChangeListener method is used to attach listener to particular keys
-
getSessionMetadataForKey(
{required String key}) → Future - getSessionMetadataForKey method is used to get metadata corresponding to the given key. If there is no data corresponding to the given key it returns null.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeKeyChangeListener(
{required HMSKeyChangeListener hmsKeyChangeListener}) → Future< HMSException?> - removeKeyChangeListener method is used to remove a key change listener
-
setSessionMetadataForKey(
{required String key, required dynamic data, HMSActionResultListener? hmsActionResultListener}) → Future< void> - setSessionMetadataForKey is used to set metadata for a particular key
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited