# CallLogFunction

class CallLogFunction
Content copied to clipboard

Functions to read call logs from phone.

## Constructors

CallLogFunction
Link copied to clipboard
fun CallLogFunction()
Content copied to clipboard

## Functions

callLogTypeNumberToString
Link copied to clipboard
private fun callLogTypeNumberToString(type: String, context: Context): String
Content copied to clipboard

The method that replaces the numeric parameter type with related text.

readCallLogs
Link copied to clipboard
fun readCallLogs(callLogCount: Int, contentResolver: ContentResolver, context: Context): MutableList<MyCallLog>
Content copied to clipboard

Return a list of call logs, the number of call logs is specified by the variable callLogCount.