What is phonestateintentreceiver.notifyPhoneCallState used for?

前端 未结 2 1173
没有蜡笔的小新
没有蜡笔的小新 2021-02-15 17:00

Can anyone tell me what is the use of phonestateintentreceiver.notifyPhoneCallState?

相关标签:
2条回答
  • 2021-02-15 17:49

    Well... The first comment in the class says

    DO NOT USE THIS CLASS: Use android.telephony.TelephonyManager and PhoneStateListener instead.

    So maybe look into those other classes.

    0 讨论(0)
  • 2021-02-15 17:59

    I know it is too late to post an answer here, may be helpful for guys who refer this in future.

    notifyPhoneCallState has to be called if your application wishes to receive a notification about an incoming phone call.

    0 讨论(0)
提交回复
热议问题