How to Use PreciseCallState

后端 未结 2 810

I am making an App that should be able to detect call state, earlier I was advised to use PreciseCallState since by default android cannot detect exactly what s

2条回答
  •  清酒与你
    2021-01-06 17:20

    But the permission is defined for special-use applications such as dialers, carrier applications, or ims applications. So how should ordinary applications handle it.

    READ_PRECISE_PHONE_STATE public static final String READ_PRECISE_PHONE_STATE Allows read only access to precise phone state. Allows reading of detailed information about phone state for special-use applications such as dialers, carrier applications, or ims applications.

    Constant Value: "android.permission.READ_PRECISE_PHONE_STATE"

提交回复
热议问题