Language

LocationManager.FromContext(Context) メソッド

定義

コンテキストから場所マネージャーを取得します。

public static Android.Locations.LocationManager? FromContext(Android.Content.Context context);
static member FromContext : Android.Content.Context -> Android.Locations.LocationManager

パラメーター

context
Context

場所サービスを取得するために使用されるコンテキスト。

戻り値

場所マネージャー。サービスが場所マネージャーでない場合は null 。

注釈

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

適用対象