AndroidSurfaceDescriptor class final
An Android window to present to, for MapHandle.attachAndroidSurface().
Name the window by window, or by jni_env and surface. The session
takes its own reference to the window, so you can release yours once the
call returns.
See mln_android_surface_descriptor in the
C API reference.
Constructors
- AndroidSurfaceDescriptor({required LogicalSize logicalSize, NativePointer window = NativePointer.nullPointer, NativePointer jniEnv = NativePointer.nullPointer, NativePointer surface = NativePointer.nullPointer})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- jniEnv → NativePointer
-
The calling thread's
JNIEnv*, withsurface.final - logicalSize → LogicalSize
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surface → NativePointer
-
An
android.view.Surface, withjni_env.final - window → NativePointer
-
Your
ANativeWindow*, or null to name the window bysurface.final
Methods
-
copyWith(
{LogicalSize? logicalSize, NativePointer? window, NativePointer? jniEnv, NativePointer? surface}) → AndroidSurfaceDescriptor - A copy of this value with the given members replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited