Press on the image to return to the main documentation page.
ActivityRecognition
List of types:
ActivityRecognition
ActivityRecognition
Permissions:
com.google.android.gms.permission.ACTIVITY_RECOGNITION
Events:
Connected (Success As Boolean)
Members:
Connect
(
DetectionIntervalMilliseconds
As
Int
)
Initialize
(
EventName
As
String
)
Stop
Members description:
Connect
(
DetectionIntervalMilliseconds
As
Int
)
Connects to the activity recognition services. Connected event will be raised when the connection is established (or failed).
DetectionIntervalMilliseconds - Detection interval.
Initialize
(
EventName
As
String
)
Initializes the object.
Stop
Stops detection.
Top