|
mocopi mobile SDK
|
Classes | |
| class | ConstMocopiMobileSdk |
| Class that summarizes constants used in mocopi Mobile SDK . | |
Enumerations | |
| enum | EnumRunMode { Default = 0 , Stub = 1 } |
| Select the operating mode for the mocopi Mobile SDK itself. More... | |
| enum | EnumTargetBodyType : int { FullBody = 0 , UpperBody = 4 , LowerBody = 5 } |
| Tracking type of the mocopi sensor. More... | |
| enum | EnumCallbackStatus { Success , Error , Disconnected } |
| Result of MocopiManager class callback function. More... | |
| enum | EnumCalibrationCallbackStatus { Stay , StepForward , Success , Warning , Error , Cancel , CancelFailed } |
| Result of MocopiManager class calibration callback function. More... | |
| enum | EnumParts { Head = MocopiSdkPluginConst.PartsIndex.HEAD , LeftUpperArm = MocopiSdkPluginConst.PartsIndex.LEFT_UPPER_ARM , LeftWrist = MocopiSdkPluginConst.PartsIndex.LEFT_WRIST , RightUpperArm = MocopiSdkPluginConst.PartsIndex.RIGHT_UPPER_ARM , RightWrist = MocopiSdkPluginConst.PartsIndex.RIGHT_WRIST , Hip = MocopiSdkPluginConst.PartsIndex.HIP , LeftUpperLeg = MocopiSdkPluginConst.PartsIndex.LEFT_UPPER_LEG , RightUpperLeg = MocopiSdkPluginConst.PartsIndex.RIGHT_UPPER_LEG , LeftAnkle = MocopiSdkPluginConst.PartsIndex.LEFT_FOOT , RightAnkle = MocopiSdkPluginConst.PartsIndex.RIGHT_FOOT } |
| List of body parts to which the mocopi sensor can be connected. More... | |
| enum | SensorParts { Head = MocopiSdkPluginConst.PartsIndex.HEAD , LeftWrist = MocopiSdkPluginConst.PartsIndex.LEFT_WRIST , RightWrist = MocopiSdkPluginConst.PartsIndex.RIGHT_WRIST , Hip = MocopiSdkPluginConst.PartsIndex.HIP , LeftAnkle = MocopiSdkPluginConst.PartsIndex.LEFT_FOOT , RightAnkle = MocopiSdkPluginConst.PartsIndex.RIGHT_FOOT } |
| List of body part labels on the mocopi sensor body. More... | |
| enum | EnumHeightUnit { Meter = 0 , Inch = 1 } |
| Measurement unit for setting height. More... | |
| enum | EnumAuthorizationStatus { ON = 0 , OFF = 1 , DISABLE = 2 } |
| Status indicating OS settings and permissions. More... | |
| enum | EnumOsSettingType { Bluetooth = 0 , Location = 1 } |
| Type of OS setting. More... | |
| enum | EnumPermissionType { Bluetooth = 0 , Location = 1 , ExternalStorage = 3 } |
| Type of permission for the application. More... | |
| enum | EnumSensorStatus { None = 0 , Discovery = 1 << 0 , PairedPart = 1 << 1 , UnpairedPart = 1 << 2 , Connected = 1 << 3 , ConnectError = 1 << 4 , Disconnecting = 1 << 5 , Disconnected = 1 << 6 , DisableDisconnection = 1 << 7 , SafeBattery = 1 << 8 , LowBattery = 1 << 9 , BatteryError = 1 << 10 , AllSensorReady = 1 << 11 , AllSensorReadyError = 1 << 12 , FirmwareLatest = 1 << 13 , FirmwareOlder = 1 << 14 , FirmwareNewer = 1 << 15 , FirmwareError = 1 << 16 } |
| Status of each mocopi sensor. More... | |
| enum | EnumFirmwareStatus { Error = 0 , Latest = 1 , Older = 2 , Newer = 3 } |
| Status of the firmware installed in the mocopi sensor. More... | |
| enum | EnumRecordingMotionAllStatus : int { RecordingCompleted , RecordingStarted , ErrorRecordingAlreadyStarted , ErrorRecordingNotStarted , ErrorRecordingNotStopped , ErrorStartRecordingFailed , ErrorStorageNoSpace , ErrorWritingFailed , ErrorCurrentlyConverting , ErrorMotionCreationFailed , ErrorRecordableTimeReached } |
| Status of motion recording. More... | |
| enum | EnumRecordingMotionStatus : int { RecordingStarted , RecordingStopped , Converting , ConvertingCompleted , RecordingCompleted , Error } |
| Motion recording status (simplified version). More... | |
| enum | EnumSensorConnectionErrorStatus : int { ConnectionFailed = -1 , RemovedPairingKey = 0 , BondingFailed = 1 , NotBonded = 2 , NotFoundSensor = 3 , NotStartSensor = 4 , BluetoothOff = MocopiSdkPluginConst.SENSOR_CONNECTION_ERROR_CODE + 0x05 , ConnectSensorFailed = MocopiSdkPluginConst.SENSOR_CONNECTION_ERROR_CODE + 0x06 } |
| Callback status at the time of sensor connection error. More... | |
| enum | EnumSensorConnectedStably : int { Failed = 1 , Succeeded = 2 } |
| Calibration process results when connecting with the mocopi sensor. More... | |
| enum | EnumNotificationReason : int { AcceptDisconnectedSensor = 0 , DisplayedPairingScreen = 1 , DisplayedSensorConnectionScreen = 2 , DisplayedCalibrationScreen = 3 , DisplayedTrackingScreen = 4 , DisplayedRecordingMotionScreen = 5 , AuthorizationNotAllowed = 6 , EndPairingSettings = 7 , IncorrectFirmwareVersion = 8 , CalibrationFailsContinuously = 9 , TurnedOffBluetooth = 10 , TurnedOffLocation = 11 } |
| Notification from Prefab. More... | |
| enum | EnumCalibrationStatus : int { CalibrationCompleted = MocopiSdkPluginConst.CALIBRATION_SUCCESS_CODE , CalibrationFailed = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x00 , InsufficientStorageFreeSpace = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x10 , NotEnoughSensorData = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x20 , StepTimeTooShort = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x31 , InsufficientCalibrationSamples = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x32 , InvalidPreferencePointValue = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x40 , InvalidMaximumMovementPointValue = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x41 , InvalidEndPointValue = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x42 , StepTimeTooLong = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x43 , InvalidStepYawValue = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x44 , EarlyToStep = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x50 , LateToStep = MocopiSdkPluginConst.CALIBRATION_ERROR_CODE + 0x60 , InvalidStepAngleValue = MocopiSdkPluginConst.CALIBRATION_WARNING_CODE + 0x70 } |
| Status of calibration execution results. More... | |
| enum | EnumMotionStreamingStatus { Reading = 0 , Stopped = 1 , ReadingFrame = 2 , StartFailed = 3 , StopFailed = 4 , ReadingFrameFailed = 5 } |
| Motion loading status . More... | |
| enum | EnumFirmwareVersionResultForStableCalibration { Supported = 0 , NotSupported = 1 , Error = 2 } |
| StableCalibration support status . More... | |
| enum | EnumMotionFormat : int { Error = -1 , Mocopi = 0 , Other = 1 } |
| Format of motion file. More... | |
Status indicating OS settings and permissions.
Use inside MocopiManager class to manage the status of OS settings (Bluetooth/location information). Not to be used by standard users.
| Enumerator | |
|---|---|
| ON | Setting is On or permission is granted.
|
| OFF | Setting is Off or permission is not granted.
|
| DISABLE | (iOS only) Unable to determine |
Result of MocopiManager class calibration callback function.
Used to assess the result of the callback function when the MocopiManager class calibration is performed. Normal calibration sequence is Stand still -> 1 step forward -> Stand still -> Success.
Status of calibration execution results.
Result of MocopiManager class callback function.
| Enumerator | |
|---|---|
| Success | Success |
| Error | Failure |
| Disconnected | Disconnection |
Status of the firmware installed in the mocopi sensor.
| enum Mocopi.Mobile.Sdk.Common.EnumMotionFormat : int |
Notification from Prefab.
List of body parts to which the mocopi sensor can be connected.
Status of motion recording.
Motion recording status (simplified version).
Select the operating mode for the mocopi Mobile SDK itself.
| Enumerator | |
|---|---|
| Default | Actual operation (using the mocopi sensor).
|
| Stub | Stub mode for debugging UnityEditor, etc. Operating part of the sensor operates while stub is implemented. |
Callback status at the time of sensor connection error.
Status of each mocopi sensor.
| enum Mocopi.Mobile.Sdk.Common.EnumTargetBodyType : int |
Tracking type of the mocopi sensor.