# Print output for @column tags ?> TelephonyCallback.MessageWaitingIndicatorListener - Android SDK | Android Developers

Most visited

Recently visited

TelephonyCallback.MessageWaitingIndicatorListener

public static interface TelephonyCallback.MessageWaitingIndicatorListener

android.telephony.TelephonyCallback.MessageWaitingIndicatorListener


Interface for message waiting indicator listener.

Summary

Public methods

abstract void onMessageWaitingIndicatorChanged(boolean mwi)

Callback invoked when the message-waiting indicator changes on the registered subscription.

Public methods

onMessageWaitingIndicatorChanged

public abstract void onMessageWaitingIndicatorChanged (boolean mwi)

Callback invoked when the message-waiting indicator changes on the registered subscription. Note, the registration subscription ID comes from TelephonyManager object by TelephonyManager#registerTelephonyCallback(Executor, TelephonyCallback). If this TelephonyManager object was created with TelephonyManager#createForSubscriptionId(int), then the callback applies to the subscription ID. Otherwise, this callback applies to SubscriptionManager#getDefaultSubscriptionId().
Requires Manifest.permission.READ_PHONE_STATE

Parameters
mwi boolean