NeLivePlayerApi class

Constructors

NeLivePlayerApi.new({BinaryMessenger? binaryMessenger})
Constructor for NeLivePlayerApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

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

addPreloadUrls(List<String?> arg_urls) Future<void>
create() Future<String>
getCurrentPosition(String arg_playerId) Future<int>
getVersion() Future<String>
initAndroid(NeLiveConfig arg_config) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareAsync(String arg_playerId) Future<void>
queryPreloadUrls() Future<Map<String?, int?>>
release(String arg_playerId) Future<void>
removePreloadUrls(List<String?> arg_urls) Future<void>
setAutoRetryConfig(String arg_playerId, NEAutoRetryConfig arg_config) Future<void>
setBufferStrategy(String arg_playerId, int arg_bufferStrategy) Future<void>
setHardwareDecoder(String arg_playerId, bool arg_isOpen) Future<void>
setMute(String arg_playerId, bool arg_isMute) Future<void>
setPlaybackTimeout(String arg_playerId, int arg_timeout) Future<void>
setPlayUrl(String arg_playerId, String arg_path) Future<bool>
setPreloadResultValidityIos(int arg_validity) Future<void>
setShouldAutoplay(String arg_playerId, bool arg_isAutoplay) Future<void>
setVolume(String arg_playerId, double arg_volume) Future<void>
start(String arg_playerId) Future<void>
stop(String arg_playerId) Future<void>
switchContentUrl(String arg_playerId, String arg_url) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

codec → const MessageCodec<Object?>