GeofenceHardware.GetStatusOfMonitoringType(GeofenceMonitoringType) メソッド

定義

ハードウェア ジオフェンス監視システムの現在の状態を返します。

[Android.Runtime.Register("getStatusOfMonitoringType", "(I)I", "")]
public int GetStatusOfMonitoringType (Android.Hardware.Location.GeofenceMonitoringType monitoringType);
[<Android.Runtime.Register("getStatusOfMonitoringType", "(I)I", "")>]
member this.GetStatusOfMonitoringType : Android.Hardware.Location.GeofenceMonitoringType -> int

パラメーター

monitoringType
GeofenceMonitoringType

monitoringType

戻り値

監視の種類の現在の状態。

属性

注釈

ハードウェア ジオフェンス監視システムの現在の状態を返します。

状態には、、または のいずれかを#MONITOR_CURRENTLY_AVAILABLE#MONITOR_CURRENTLY_UNAVAILABLE指定できます。#MONITOR_UNSUPPORTED

サポートされている一部のハードウェア監視システムは、特定のシナリオでジオフェンスを監視できない場合があります。 たとえば、ユーザーが建物に入ると、GPS ハードウェア サブシステムはジオフェンスを監視できず、 から #MONITOR_CURRENTLY_AVAILABLE#MONITOR_CURRENTLY_UNAVAILABLE変更されます。

の Java ドキュメント android.hardware.location.GeofenceHardware.getStatusOfMonitoringType(int)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象