MethodChannelSmkitUiFlutterPlugin class

An implementation of SmkitUiFlutterPluginPlatform that uses method channels.

Inheritance

Properties

diagnosticsChannel → EventChannel
final
eventChannel → EventChannel
final
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

clearAdaptiveRomCache() → Future<void>
override
configure({required String key, String? customerCode, SmKitPoseModelChoice poseModelChoice = SmKitPoseModelChoice.adaptiveChoice, SMKitLanguage configureLanguage = SMKitLanguage.english, bool includesHighlights = false, bool includesObjectDetectionFeedbacks = false, SMKitModelDownloadPolicy modelDownloadPolicy = SMKitModelDownloadPolicy.waitForRemoteModelsThenFallback, void onHandle(SMKitStatus)?}) → Future<bool?>
override
getCustomerAssetPath({required String identifier}) → Future<String?>
override
getExerciseType({required String detector}) → Future<String?>
override
getSupportedMovements() → Future<List<String>?>
override
handleExternalCallback(String url) → Future<bool>
override
loadInstructionVideo(String detector) → Future<String?>
override
mergeAdaptiveRomPilotCache(List<Map<String, dynamic>> snapshots) → Future<int>
Restore saved adaptive ROM objects after configure, between workouts.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseSdk() → Future<void>
override
preloadModels() → Future<void>
override
quitWorkout() → Future<void>
override
requestCustomerAssetPath({required String identifier}) → Future<String?>
override
resumeSdk() → Future<void>
override
setConfig({required SMKitConfig config}) → Future<void>
override
setCounterPreferences({required SMKitCounterPreferences counterPreferences, void onHandle(SMKitStatus)?}) → Future<void>
override
setEndExercisePreferences({required SMKitEndExercisePreferences endExercisePrefernces, void onHandle(SMKitStatus)?}) → Future<void>
override
setExcludedFeedbacks({required List<String> feedbacks}) → Future<void>
override
setFeedbacksUiToExclude({required List<String> feedbacks}) → Future<void>
override
setLanguage({required SMKitLanguage language, void onHandle(SMKitStatus)?}) → Future<void>
override
setPhoneCalibrationLanguage({required SMKitLanguage language}) → Future<void>
override
setVideo(String url, {double? limitFps}) → Future<void>
override
skipCurrentExercise() → Future<bool>
override
startAssessment({required AssessmentTypes type, String? assessmentID, Map<String, dynamic>? userData, bool showSummary = false, bool forceShowUserDataScreen = false, Map<String, dynamic>? modifications, void onHandle(SMKitStatus)?}) → Future<void>
override
startCustomizedAssessment({required SMKitWorkout assessment, Map<String, dynamic>? userData, bool forceShowUserDataScreen = false, bool showSummary = false, Map<String, dynamic>? modifications, void onHandle(SMKitStatus)?}) → Future<void>
override
startCustomizedWorkout({required SMKitWorkout workout, bool showSummary = false, Map<String, dynamic>? userData, Map<String, dynamic>? modifications, void onHandle(SMKitStatus)?}) → Future<void>
override
startWorkoutProgram({required WorkoutConfig config, Map<String, dynamic>? modifications, void onHandle(SMKitStatus)?}) → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited