HMSHLSPlaybackEventsListener class abstract
100ms HMSHLSPlaybackEventsListener
100ms provides callbacks to the client app about any changes in HLS Player Refer for more info HMSHLSPlaybackEventsListener
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCue(
{required HMSHLSCue hlsCue}) → void - Callback to know about any HLS Timed Metadata cue and use it's data to show any UI like quizzes, poll etc. to HLS viewers.
-
onCues(
{required List< String> subtitles}) → void - Callback to get the subtitles
-
onHLSError(
{required HMSException hlsException}) → void - Callback to know about failures in HLS Stats.
-
onHLSEventUpdate(
{required HMSHLSPlayerStats playerStats}) → void - Callback to get HLS Player stats
-
onPlaybackFailure(
{required String? error}) → void - Callback to know about the errors that happen during playback.
-
onPlaybackStateChanged(
{required HMSHLSPlaybackState playbackState}) → void - Callback to know about the state change event during the playback.
-
onVideoSizeChanged(
{required Size size}) → void - Callback to get the stream height/width changes
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited