SubscriptionManager.AddOnOpportunisticSubscriptionsChangedListener 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.
Register for changes to the list of opportunistic subscription records or to the individual records themselves.
[Android.Runtime.Register("addOnOpportunisticSubscriptionsChangedListener", "(Ljava/util/concurrent/Executor;Landroid/telephony/SubscriptionManager$OnOpportunisticSubscriptionsChangedListener;)V", "GetAddOnOpportunisticSubscriptionsChangedListener_Ljava_util_concurrent_Executor_Landroid_telephony_SubscriptionManager_OnOpportunisticSubscriptionsChangedListener_Handler", ApiSince=29)]
public virtual void AddOnOpportunisticSubscriptionsChangedListener (Java.Util.Concurrent.IExecutor executor, Android.Telephony.SubscriptionManager.OnOpportunisticSubscriptionsChangedListener listener);
[<Android.Runtime.Register("addOnOpportunisticSubscriptionsChangedListener", "(Ljava/util/concurrent/Executor;Landroid/telephony/SubscriptionManager$OnOpportunisticSubscriptionsChangedListener;)V", "GetAddOnOpportunisticSubscriptionsChangedListener_Ljava_util_concurrent_Executor_Landroid_telephony_SubscriptionManager_OnOpportunisticSubscriptionsChangedListener_Handler", ApiSince=29)>]
abstract member AddOnOpportunisticSubscriptionsChangedListener : Java.Util.Concurrent.IExecutor * Android.Telephony.SubscriptionManager.OnOpportunisticSubscriptionsChangedListener -> unit
override this.AddOnOpportunisticSubscriptionsChangedListener : Java.Util.Concurrent.IExecutor * Android.Telephony.SubscriptionManager.OnOpportunisticSubscriptionsChangedListener -> unit
Parameters
- executor
- IExecutor
an instance of OnOpportunisticSubscriptionsChangedListener
with
onOpportunisticSubscriptionsChanged overridden.
- 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.