LocationManager.RegisterAntennaInfoListener Method

Definition

Registers a GNSS antenna info listener that will receive all changes to antenna info.

[Android.Runtime.Register("registerAntennaInfoListener", "(Ljava/util/concurrent/Executor;Landroid/location/GnssAntennaInfo$Listener;)Z", "GetRegisterAntennaInfoListener_Ljava_util_concurrent_Executor_Landroid_location_GnssAntennaInfo_Listener_Handler", ApiSince=30)]
public virtual bool RegisterAntennaInfoListener (Java.Util.Concurrent.IExecutor executor, Android.Locations.GnssAntennaInfo.IListener listener);
[<Android.Runtime.Register("registerAntennaInfoListener", "(Ljava/util/concurrent/Executor;Landroid/location/GnssAntennaInfo$Listener;)Z", "GetRegisterAntennaInfoListener_Ljava_util_concurrent_Executor_Landroid_location_GnssAntennaInfo_Listener_Handler", ApiSince=30)>]
abstract member RegisterAntennaInfoListener : Java.Util.Concurrent.IExecutor * Android.Locations.GnssAntennaInfo.IListener -> bool
override this.RegisterAntennaInfoListener : Java.Util.Concurrent.IExecutor * Android.Locations.GnssAntennaInfo.IListener -> bool

Parameters

executor
IExecutor

the executor that the listener runs on

listener
GnssAntennaInfo.IListener

the listener to register

Returns

true always

Attributes

Remarks

Java documentation for android.location.LocationManager.registerAntennaInfoListener(java.util.concurrent.Executor, android.location.Listener).

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.

Applies to