LocationManager.RegisterAntennaInfoListener 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.
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
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.