MethodChannelARMODViewFlutter class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
resultData
↔ dynamic
-
getter/setter pairinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildView(Map<String, dynamic> creationParams, Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers, PlatformViewCreatedCallback onPlatformViewCreated, bool useAndroidView)
→ Widget
-
Returns a widget displaying the map view
override
-
channel(int id)
→ MethodChannel
-
Accesses the MethodChannel associated to the passed Id.
-
closeARMODPlayer({required int id})
→ Future<bool?>
-
Close and hide AR-MOD Player
override
-
createARMODPlayer({required int id})
→ Future<bool?>
-
Create the AR-MOD player
override
-
dispose({int? id})
→ Future<void>
-
Dispose of the native resources.
override
-
ensureChannelInitialized(int id)
→ MethodChannel
-
-
inBackground({required int id})
→ Future<bool?>
-
Is AR-MOD running in the background
override
-
init(int id)
→ Future<void>
-
Initializes the platform interface with
id
.
override
-
isLoaded({required int id})
→ Future<bool?>
-
Is AR-MOD loaded
override
-
isPaused({required int id})
→ Future<bool?>
-
Is AR-MOD paused
override
-
isReady({required int id})
→ Future<bool?>
-
Is AR-MOD ready
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onAddLoadingOverlay({required int id})
→ Stream<addLoadingOverlay>
-
Start loading AR experience
override
-
onDeviceNotSupport({required int id})
→ Stream<deviceNotSupport>
-
Current device is not support ARMOD
override
-
onNeedInstallARCoreService({required int id})
→ Stream<needInstallARCoreService>
-
Android Only
When your device supports ARCore but you are installing the ARCore service,
this method will be executed, prompting the user to install the ARCore service.
override
-
onOnARMODExit({required int id})
→ Stream<onARMODExit>
-
AR-MOD SDK Exited
override
-
onOnARMODLaunch({required int id})
→ Stream<onARMODLaunch>
-
AR-MOD SDK Start
override
-
onOpenBuiltInBrowser({required int id, String? url})
→ Stream<openBuiltInBrowser>
-
Open the url in builtin browser from AR experience
override
-
onPackageSizeMoreThanPresetSize({required int id, String? currentSize, String? presetSize})
→ Stream<packageSizeMoreThanPresetSize>
-
Detected that the AR experience package is too large
override
-
onRecognitionComplete({required int id})
→ Stream<recognitionComplete>
-
Finished image recognition
override
-
onRecognitionStart({required int id})
→ Stream<recognitionStart>
-
Start image recognition
override
-
onRemoveLoadingOverlay({required int id})
→ Stream<removeLoadingOverlay>
-
Remove loading overlay and loading AR experience finished
override
-
onSdkInitialized({required int id})
→ Stream<sdkInitialized>
-
After the AR algorithm is initialized, the method will be executed
override
-
onThrowException({required int id, String? message, int? errorCode})
→ Stream<throwException>
-
The method will be executed if an exception occurs
message
error message
errorCode
the error id
override
-
onTryAcquireInformation({required int id, String? opTag})
→ Stream<tryAcquireInformation>
-
Get any information from app to AR experiences
override
-
onUpdateLoadingProgress({required int id, double? progress})
→ Stream<updateLoadingProgress>
-
Loading AR experience asset progress
progress
loading progress value(0.0~1.0).
override
-
openInNativeProcess({required int id})
→ Future<void>
-
override
-
pausePlayer({required int id})
→ Future<void>
-
override
-
postMessage({required int id, required String gameObject, required String methodName, required String message})
→ Future<void>
-
override
-
quitPlayer({required int id})
→ Future<void>
-
override
-
resumePlayer({required int id})
→ Future<void>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
unloadPlayer({required int id})
→ Future<void>
-
override