Skip to content

//sdk-realtime/me.oriient.ipssdk.api.utils/IPSSensors

IPSSensors

[common]\ @Retention(value = RetentionPolicy.SOURCE)

annotation class IPSSensors

This IntDef represents the sensors used by the SDK. In case the current device is not equipped with all the required sensors, all location related functionality will not work.

Properties

Name Summary
ACCELEROMETER [common]
val ACCELEROMETER: Int = 2
Represents system sensor TYPE_ACCELEROMETER.
GAME_ROTATION_VECTOR [common]
val GAME_ROTATION_VECTOR: Int = 5
Represents system sensor TYPE_GAME_ROTATION_VECTOR.
GYROSCOPE [common]
val GYROSCOPE: Int = 1
Represents system sensor TYPE_GYROSCOPE.
GYROSCOPE_UNCALIBRATED [common]
val GYROSCOPE_UNCALIBRATED: Int = 7
Represents system sensor TYPE_GYROSCOPE_UNCALIBRATED.
MAGNETIC_FIELD [common]
val MAGNETIC_FIELD: Int = 3
Represents system sensor TYPE_MAGNETIC_FIELD.
MAGNETIC_FIELD_UNCALIBRATED [common]
val MAGNETIC_FIELD_UNCALIBRATED: Int = 4
Represents system sensor TYPE_MAGNETIC_FIELD_UNCALIBRATED.
PRESSURE [common]
val PRESSURE: Int = 6
Represents system sensor TYPE_PRESSURE.

Functions

Name Summary
annotationType [common]
abstract fun annotationType(): Class<out Annotation>
equals [common]
abstract fun equals(p: Any): Boolean
hashCode [common]
abstract fun hashCode(): Int
toString [common]
abstract fun toString(): String