Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Types of calls in CallLog.Calls.TYPE

Can someone tell me which are all the types of calls in android in CallLog.Calls.TYPE?

I found this return 1 for Incoming(1), Outgoing(2) and Missed(3), 4 (VoiceMail), 5 (Rejected) and 6 (Refused List).

But i´m calling CallLog.Calls.TYPE and returns me a 10 (?) but i don´t know which type is?

And may be there are more types of calls..

like image 569
Yaziel Asbai Rodriguez Puente Avatar asked May 26 '15 17:05

Yaziel Asbai Rodriguez Puente


1 Answers

As per the CallLog.Calls.TYPE documentation, there are 7- incoming, outgoing, missed, voicemail, rejected, blocked and answered externally.

Those types correspond to the following CallLog.Calls constants:

  • INCOMING_TYPE
  • OUTGOING_TYPE
  • MISSED_TYPE
  • VOICEMAIL_TYPE
  • REJECTED_TYPE
  • BLOCKED_TYPE
  • ANSWERED_EXTERNALLY_TYPE
like image 151
Bryan Herbst Avatar answered Sep 24 '22 13:09

Bryan Herbst