ARQuidoMethodChannel class
An implementation of ARQuidoPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- ARQuidoPlatform
- ARQuidoMethodChannel
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildView(
PlatformViewCreatedCallback onPlatformViewCreated, {required List< String> referenceImageNames}) → Widget -
Returns a widget displaying the scanner view.
override
-
dispose(
) → void -
Dispose of whatever resources the platform is holding on to.
override
-
init(
) → void -
Initializes the platform interface.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDetectedImageTapped(
) → Stream< ImageTappedEvent> -
Returns a stream that receives data when a reference image has been tapped.
override
-
onError(
) → Stream< ErrorEvent> -
Returns a stream that receives data when the recognition module raises an
error.
override
-
onImageDetected(
) → Stream< ImageDetectedEvent> -
Returns a stream that receives data when a reference image has been detected.
override
-
onRecognitionPaused(
) → Stream< RecognitionPausedEvent> -
Returns a stream that receives data when the recognition mode was paused.
override
-
onRecognitionResumed(
) → Stream< RecognitionResumedEvent> -
Returns a stream that receives data when the recognition mode was resumed
after a pause.
override
-
onRecognitionStarted(
) → Stream< RecognitionStartedEvent> -
Returns a stream that receives data when the recognition mode was started.
override
-
toggleFlashlight(
{required bool shouldTurnOn}) → Future< void> -
Sets the current state of the device's flashlight.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited