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

Most visited

Recently visited

TelephonyCallback.CallForwardingIndicatorListener

public static interface TelephonyCallback.CallForwardingIndicatorListener

android.telephony.TelephonyCallback.CallForwardingIndicatorListener


Interface for call-forwarding indicator listener.

Summary

Public methods

abstract void onCallForwardingIndicatorChanged(boolean cfi)

Callback invoked when the call-forwarding indicator changes on the registered subscription.

Public methods

onCallForwardingIndicatorChanged

public abstract void onCallForwardingIndicatorChanged (boolean cfi)

Callback invoked when the call-forwarding indicator changes on the registered subscription. Note, the registration subscription ID comes from TelephonyManager object which registers TelephonyCallback 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
cfi boolean