FlutterSecureScreen class
截屏和录屏的动作监听(暂只支持iOS)、 禁止或允许android截屏和录屏
Constructors
- FlutterSecureScreen()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onScreenRecord → Stream?
-
获取监听录屏动作的Stream。用法:
no setter
- onScreenShots → Stream?
-
获取监听截屏动作的Stream。用法:
no setter
- 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
-
setAndroidScreenSecure(
bool isSecure) → Future< void> - 是否禁用设备截屏或录屏 只支持Android
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- singleton ↔ FlutterSecureScreen
-
getter/setter pair