RoomPlanScanner class
Central class for interacting with the RoomPlan feature.
This class provides methods to start and stop room scanning sessions and streams for receiving real-time updates and the final scan result.
Constructors
- RoomPlanScanner.new({RoomPlanChannel? roomPlanChannel})
-
Creates and initializes a RoomPlanScanner.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onScanResult
→ Stream<
ScanResult?> -
A stream that emits
RoomPlanResult
during an active scan.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Disposes of the resources used by the scanner.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startScanning(
{ScanConfiguration? configuration}) → Future< ScanResult?> - Starts a new room scanning session with optional configuration.
-
stopScanning(
) → Future< void> - Stops the current scanning session.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isSupported(
) → Future< bool> - Checks if RoomPlan is supported on the current device.