# SmsFunction

class SmsFunction
Content copied to clipboard

Functions to read SMS message from phone.

## Constructors

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

## Functions

readSms
Link copied to clipboard
fun readSms(smsCount: Int, contentResolver: ContentResolver, context: Context): MutableList<MySms>
Content copied to clipboard

Return a list of received and sent SMS, the number of SMS is specified by the variable smsCount.

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

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