Udostępnij za pośrednictwem


SubscriptionManager.AddOnSubscriptionsChangedListener Method

Definition

Overloads

AddOnSubscriptionsChangedListener(SubscriptionManager+OnSubscriptionsChangedListener)

Register for changes to the list of active SubscriptionInfo records or to the individual records themselves.

AddOnSubscriptionsChangedListener(IExecutor, SubscriptionManager+OnSubscriptionsChangedListener)

Register for changes to the list of active SubscriptionInfo records or to the individual records themselves.

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

listener
SubscriptionManager.OnSubscriptionsChangedListener

an instance of OnSubscriptionsChangedListener with onSubscriptionsChanged overridden.

Attributes

Remarks

Java documentation for android.telephony.SubscriptionManager.addOnSubscriptionsChangedListener(android.telephony.OnSubscriptionsChangedListener).

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
listener
SubscriptionManager.OnSubscriptionsChangedListener

an instance of OnSubscriptionsChangedListener with onSubscriptionsChanged overridden.

Attributes

Remarks

Java documentation for android.telephony.SubscriptionManager.addOnSubscriptionsChangedListener(android.telephony.OnSubscriptionsChangedListener).

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