SubscriptionManager.AddOnSubscriptionsChangedListener 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.
Overloads
AddOnSubscriptionsChangedListener(SubscriptionManager+OnSubscriptionsChangedListener) |
Register for changes to the list of active |
AddOnSubscriptionsChangedListener(IExecutor, SubscriptionManager+OnSubscriptionsChangedListener) |
Register for changes to the list of active |
AddOnSubscriptionsChangedListener(SubscriptionManager+OnSubscriptionsChangedListener)
Register for changes to the list of active SubscriptionInfo
records or to the
individual records themselves.
[Android.Runtime.Register("addOnSubscriptionsChangedListener", "(Landroid/telephony/SubscriptionManager$OnSubscriptionsChangedListener;)V", "GetAddOnSubscriptionsChangedListener_Landroid_telephony_SubscriptionManager_OnSubscriptionsChangedListener_Handler", ApiSince=22)]
public virtual void AddOnSubscriptionsChangedListener (Android.Telephony.SubscriptionManager.OnSubscriptionsChangedListener? listener);
[<Android.Runtime.Register("addOnSubscriptionsChangedListener", "(Landroid/telephony/SubscriptionManager$OnSubscriptionsChangedListener;)V", "GetAddOnSubscriptionsChangedListener_Landroid_telephony_SubscriptionManager_OnSubscriptionsChangedListener_Handler", ApiSince=22)>]
abstract member AddOnSubscriptionsChangedListener : Android.Telephony.SubscriptionManager.OnSubscriptionsChangedListener -> unit
override this.AddOnSubscriptionsChangedListener : Android.Telephony.SubscriptionManager.OnSubscriptionsChangedListener -> unit
Parameters
an instance of OnSubscriptionsChangedListener
with
onSubscriptionsChanged 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.
Applies to
AddOnSubscriptionsChangedListener(IExecutor, SubscriptionManager+OnSubscriptionsChangedListener)
Register for changes to the list of active SubscriptionInfo
records or to the
individual records themselves.
[Android.Runtime.Register("addOnSubscriptionsChangedListener", "(Ljava/util/concurrent/Executor;Landroid/telephony/SubscriptionManager$OnSubscriptionsChangedListener;)V", "GetAddOnSubscriptionsChangedListener_Ljava_util_concurrent_Executor_Landroid_telephony_SubscriptionManager_OnSubscriptionsChangedListener_Handler", ApiSince=30)]
public virtual void AddOnSubscriptionsChangedListener (Java.Util.Concurrent.IExecutor executor, Android.Telephony.SubscriptionManager.OnSubscriptionsChangedListener listener);
[<Android.Runtime.Register("addOnSubscriptionsChangedListener", "(Ljava/util/concurrent/Executor;Landroid/telephony/SubscriptionManager$OnSubscriptionsChangedListener;)V", "GetAddOnSubscriptionsChangedListener_Ljava_util_concurrent_Executor_Landroid_telephony_SubscriptionManager_OnSubscriptionsChangedListener_Handler", ApiSince=30)>]
abstract member AddOnSubscriptionsChangedListener : Java.Util.Concurrent.IExecutor * Android.Telephony.SubscriptionManager.OnSubscriptionsChangedListener -> unit
override this.AddOnSubscriptionsChangedListener : Java.Util.Concurrent.IExecutor * Android.Telephony.SubscriptionManager.OnSubscriptionsChangedListener -> unit
Parameters
- executor
- IExecutor
an instance of OnSubscriptionsChangedListener
with
onSubscriptionsChanged 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.