VideoPlayer class abstract

Implementers

Constructors

VideoPlayer()

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

addListener(LiveStateListener playerStateListener) → void
addPreLocationPoint(String name, Uint8List image, {required OnSuccess<PreLocationBean> onSuccess, required OnError onError}) → void
audioEnable(bool enable) → void
autoResolutionSwitchEnable(bool enable) → void
changeVoice(int type) → void
createRtcConnection(CustomParam customParam, RtcConnectionStateObserver complete) → void
deletePreLocationPoint(int pointId, {required OnSuccess onSuccess, required OnError onError}) → void
destroyLive() → void
getPreLocationPoints({required OnSuccess<List<PreLocationBean>> onSuccess, required OnError onError}) → void
getSdHasVideoDays(int startTime, int endTime, {required OnSuccess<HaveRecordDayResponse> onSuccess, required OnError onError}) → void
getSDVideoList(int startTime, int endTime, {required OnSuccess<VideoTimeModelResponse> onSuccess, required OnError onError}) → void
magicPixEnable(bool enable) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMicFrame(Uint8List data) → void
screenShot({required OnSuccess<Uint8List> onSuccess, required OnError onError}) → void
setAlarm({required OnSuccess onSuccess, required OnError onError}) → void
setDataSource(DeviceBean source) → void
setKeepAlive() → void
setPreLocationPoint(String coordinate, LiveCallback callBack) → void
setPtz(double x, double y, {required OnSuccess onSuccess, required OnError onError}) → void
setRenderView(SurfaceView surfaceView) → void
setResolution(String ratio, {required OnSuccess onSuccess, required OnError onError}) → void
setSleep({required OnSuccess onSuccess, required OnError onError}) → void
setVolume(double volume) → void
setWhiteLight(bool enable, {required OnSuccess onSuccess, required OnError onError}) → void
speakEnable(bool enable) → void
startLive(CustomParam customParam) → void
startRecord(String? path) → void
startSdcard(int startTime) → void
stopLive() → void
stopRecord() → void
stopSdcard() → void
switchHandsetAndSpeaker(bool isHandset) → void
toString() String
A string representation of this object.
inherited

Operators

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