RenderSessionSnapshot class final
The state of a render session at one moment.
See mln_render_session_snapshot in the
C API reference.
Constructors
- RenderSessionSnapshot({required RenderSessionState state, LogicalExtent extent = const LogicalExtent(), int generation = 0, int frameGeneration = 0, int acquiredFrameCount = 0, Status failureStatus = const Status.fromRawValue(0), bool hasTarget = false})
-
const
Properties
- acquiredFrameCount → int
-
final
- extent → LogicalExtent
-
The target's logical size, and the map's scale factor.
final
- failureStatus → Status
-
Status.okuntil the session fails. ThenStatus.targetLostwhen it failed because it lost its target, orStatus.nativeErrorwhen it failed for another reason.final - frameGeneration → int
-
final
- generation → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasTarget → bool
-
Whether the session is attached and has a target to render to. It's false
from when
RenderSessionHandle.releaseTarget()completes until you give the session a new target.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → RenderSessionState
-
final
Methods
-
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