VlcMediaEvent class

Constructors

VlcMediaEvent({required VlcMediaEventType mediaEventType, Duration? duration, Size? size, Duration? position, double? playbackSpeed, int? audioTracksCount, int? activeAudioTrack, int? spuTracksCount, int? activeSpuTrack, double? bufferPercent, bool? isPlaying, bool? isRecording, String? recordPath})
Creates an instance of VlcMediaEvent.

Properties

activeAudioTrack int?
The active audio track index. "-1" means audio is disabled.
final
activeSpuTrack int?
Returns the active subtitle track index. "-1" means subtitle is disabled.
final
audioTracksCount int?
The number of available audio tracks embedded in media except the original audio.
final
bufferPercent double?
Returns the buffer percent of media.
final
duration Duration?
Duration of the video.
final
hashCode int
The hash code for this object.
no setterinherited
isPlaying bool?
Returns the playing state of media.
final
isRecording bool?
Returns the recording state of media.
final
mediaEventType VlcMediaEventType
The type of the event.
final
playbackSpeed double?
Playback speed of the video.
final
position Duration?
Position of the video.
final
recordPath String?
Returns the recording path of media.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size?
Size of the video.
final
spuTracksCount int?
Returns the number of available subtitle tracks embedded in media.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited