startMonitoringUser

external fun startMonitoringUser(listener: GeofenceListener, userId: Long): Int

Start the monitoring for the given user

Return

The operation error code

Parameters

listener

The geofence type listener which will receive the monitor events

userId

The monitored user id