BeautyCamPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • BeautyCamPlatform
Implementers

Constructors

BeautyCamPlatform()
Constructs a BeautyCamPlatform.

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

addFilter(String filter) Future<void>
添加滤镜
enableBeauty(bool isEnableBeauty) Future<void>
开启或关闭美颜
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBeautyLevel(double level) Future<void>
美颜程度(0~1)
setLoadImageResource(String path) Future<String?>
设置图片纹理加载路径(默认存放在Caches目录)
setOuPutFilePath(String path) Future<String?>
设置文件保存路径
stopVideo() Future<String?>
结束拍视频
switchCamera() Future<void>
切换镜头
takePicture() Future<String?>
拍照
takeVideo() Future<bool?>
开始拍视频
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance BeautyCamPlatform
The default instance of BeautyCamPlatform to use.
getter/setter pair