|
mocopi mobile SDK
|
クラス | |
| class | ConstMocopiMobileSdk |
| mocopi Mobile SDKで使用する定数をまとめたクラス | |
列挙型 | |
| enum | EnumRunMode { Default = 0 , Stub = 1 } |
| mocopi Mobile SDK自体の動作モードを選択する。 [詳解] | |
| enum | EnumTargetBodyType : int { FullBody = 0 , UpperBody = 4 , LowerBody = 5 } |
| mocopiセンサーのトラッキングタイプ。 [詳解] | |
| enum | EnumCallbackStatus { Success , Error , Disconnected } |
| MocopiManager クラスのコールバック関数の結果。 [詳解] | |
| enum | EnumCalibrationCallbackStatus { Stay , StepForward , Success , Warning , Error , Cancel , CancelFailed } |
| MocopiManager クラスのキャリブレーションのコールバック関数の結果。 [詳解] | |
| 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 } |
| mocopiセンサーが接続可能な部位の一覧。 [詳解] | |
| 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 } |
| mocopiセンサー本体の部位ラベル一覧。 [詳解] | |
| enum | EnumHeightUnit { Meter = 0 , Inch = 1 } |
| 身長設定する際の単位。 [詳解] | |
| enum | EnumAuthorizationStatus { ON = 0 , OFF = 1 , DISABLE = 2 } |
| OS設定と権限を表すステータス。 [詳解] | |
| enum | EnumOsSettingType { Bluetooth = 0 , Location = 1 } |
| OS設定の種別。 [詳解] | |
| enum | EnumPermissionType { Bluetooth = 0 , Location = 1 , ExternalStorage = 3 } |
| アプリに対する権限の種別。 [詳解] | |
| 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 } |
| 各mocopiセンサーのステータス。 [詳解] | |
| enum | EnumFirmwareStatus { Error = 0 , Latest = 1 , Older = 2 , Newer = 3 } |
| mocopiセンサーに搭載されているファームウェアのステータス。 [詳解] | |
| enum | EnumRecordingMotionAllStatus : int { RecordingCompleted , RecordingStarted , ErrorRecordingAlreadyStarted , ErrorRecordingNotStarted , ErrorRecordingNotStopped , ErrorStartRecordingFailed , ErrorStorageNoSpace , ErrorWritingFailed , ErrorCurrentlyConverting , ErrorMotionCreationFailed , ErrorRecordableTimeReached } |
| モーション記録のステータス。 [詳解] | |
| enum | EnumRecordingMotionStatus : int { RecordingStarted , RecordingStopped , Converting , ConvertingCompleted , RecordingCompleted , Error } |
| モーション記録のステータス(簡易版)。 [詳解] | |
| 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 } |
| センサー接続エラー時のコールバックステータス [詳解] | |
| enum | EnumSensorConnectedStably : int { Failed = 1 , Succeeded = 2 } |
| mocopiセンサー接続時のキャリブレーション処理結果。 [詳解] | |
| 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 } |
| Prefabからの通知。 [詳解] | |
| 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 } |
| キャリブレーション実施結果のステータス。 [詳解] | |
| enum | EnumMotionStreamingStatus { Reading = 0 , Stopped = 1 , ReadingFrame = 2 , StartFailed = 3 , StopFailed = 4 , ReadingFrameFailed = 5 } |
| Motion読み込みステータス [詳解] | |
| enum | EnumFirmwareVersionResultForStableCalibration { Supported = 0 , NotSupported = 1 , Error = 2 } |
| StableCalibrationサポート状態 [詳解] | |
| enum | EnumMotionFormat : int { Error = -1 , Mocopi = 0 , Other = 1 } |
| モーションファイルのフォーマット [詳解] | |
OS設定と権限を表すステータス。
MocopiManager クラス内部で使用する、OS設定(Bluetooth/位置情報)の状態を管理するために使用する。
基本ユーザーは使用しない。
| 列挙値 | |
|---|---|
| ON | 設定On or 権限許可されている。 |
| OFF | 設定Off or 権限が許可されていない。 |
| DISABLE | (iOSのみ)判定不可能 |
MocopiManager クラスのキャリブレーションのコールバック関数の結果。
MocopiManager クラスキャリブレーション実施時のコールバック関数の結果を判断する際に使用する。
キャリブレーションは、静止 -> 1歩前進 -> 静止 -> 成功 の流れが正常系。
| 列挙値 | |
|---|---|
| Stay | 初期姿勢を促す状態。 |
| StepForward | 1歩前進を促す状態。 |
| Success | キャリブレーションに成功。 |
| Warning | キャリブレーション警告。 |
| Error | キャリブレーションに失敗。 |
| Cancel | キャリブレーションをキャンセル。 |
| CancelFailed | キャリブレーションのキャンセルに失敗。 |
キャリブレーション実施結果のステータス。
MocopiManager クラスのコールバック関数の結果。
| 列挙値 | |
|---|---|
| Success | 成功 |
| Error | 失敗 |
| Disconnected | 切断 |
mocopiセンサーに搭載されているファームウェアのステータス。
| enum Mocopi.Mobile.Sdk.Common.EnumMotionFormat : int |
Prefabからの通知。
モーション記録のステータス。
mocopi Mobile SDK自体の動作モードを選択する。
| 列挙値 | |
|---|---|
| Default | 実動作(mocopiセンサーの使用)。 |
| Stub | Stubモード UnityEditor等のデバッグ用。センサーの動作部分をStub実装した状態で動作する。 |
センサー接続エラー時のコールバックステータス
各mocopiセンサーのステータス。
| enum Mocopi.Mobile.Sdk.Common.EnumTargetBodyType : int |