Package 

Class SensfrxCallStateListener

    • Method Summary

      Modifier and Type Method Description
      void onCallStateChanged(int state, String incomingNumber) Called when the phone call state changes.
      • Methods inherited from class android.telephony.PhoneStateListener

        onActiveDataSubscriptionIdChanged, onBarringInfoChanged, onCallDisconnectCauseChanged, onCallForwardingIndicatorChanged, onCallStateChanged, onCellInfoChanged, onCellLocationChanged, onDataActivity, onDataConnectionStateChanged, onDisplayInfoChanged, onEmergencyNumberListChanged, onImsCallDisconnectCauseChanged, onMessageWaitingIndicatorChanged, onPreciseDataConnectionStateChanged, onRegistrationFailed, onServiceStateChanged, onSignalStrengthChanged, onSignalStrengthsChanged, onUserMobileDataStateChanged
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SensfrxCallStateListener

        SensfrxCallStateListener(Context context)
        Constructor for SensfrxCallStateListener.
        Parameters:
        context - The context in which the listener is operating.
    • Method Detail

      • onCallStateChanged

         void onCallStateChanged(int state, String incomingNumber)

        Called when the phone call state changes.

        Parameters:
        state - The current phone call state.
        incomingNumber - The phone number of the incoming call, if applicable.