Hubro Connect
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
Hubro Connect
hubro-connect
/
no.hubroplatform.hubroconnect
/
SensorManager
Sensor
Manager
interface
SensorManager
Inheritors
AndroidSensorManager
Members
Functions
get
Sensor
Identifier
Link copied to clipboard
abstract
fun
getSensorIdentifier
(
)
:
String
is
Available
Link copied to clipboard
abstract
fun
isAvailable
(
)
:
Result
<
Boolean
>
is
Revoke
Authorization
Supported
Link copied to clipboard
abstract
suspend
fun
isRevokeAuthorizationSupported
(
)
:
Result
<
Boolean
>
read
Latest
Data
Link copied to clipboard
abstract
suspend
fun
readLatestData
(
type
:
SensorDataType
)
:
Result
<
SensorMeasurement
?
>
request
Authorization
Link copied to clipboard
abstract
suspend
fun
requestAuthorization
(
)
:
Result
<
Boolean
>
revoke
Authorization
Link copied to clipboard
abstract
suspend
fun
revokeAuthorization
(
)
:
Result
<
Unit
>
start
Recording
Link copied to clipboard
abstract
suspend
fun
startRecording
(
type
:
List
<
SensorDataType
>
)
:
Boolean
stop
Recording
Link copied to clipboard
abstract
suspend
fun
stopRecording
(
)
:
Boolean