MediaProjectionCreator class
Constructors
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
-
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
Static Methods
-
createMediaProjection(
) → Future< int> - Only support Android
-
destroyMediaProjection(
) → Future< int> - Only support Android Invoke this function will stop the media projection foreground notification service (since Android Q)
Constants
- ERROR_CODE_FAILED_SYSTEM_VERSION_TOO_LOW → const int
- ERROR_CODE_FAILED_USER_CANCELED → const int
- ERROR_CODE_SUCCEED → const int