GeofenceHardware.GetMonitoringTypes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns all the hardware geofence monitoring systems which are supported
[Android.Runtime.Register("getMonitoringTypes", "()[I", "")]
public int[]? GetMonitoringTypes ();
[<Android.Runtime.Register("getMonitoringTypes", "()[I", "")>]
member this.GetMonitoringTypes : unit -> int[]
Returns
An array of all the monitoring types. An array of length 0 is returned in case of errors.
- Attributes
Remarks
Returns all the hardware geofence monitoring systems which are supported
Call #getStatusOfMonitoringType(int)
to know the current state of a monitoring system.
Requires android.Manifest.permission#LOCATION_HARDWARE
permission to access geofencing in hardware.
Java documentation for android.hardware.location.GeofenceHardware.getMonitoringTypes()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.