# PhoneStateFunction

class PhoneStateFunction
Content copied to clipboard

Functions to read data from phone SIM card.

## Constructors

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

## Functions

getDataFromSIM
Link copied to clipboard
fun getDataFromSIM(context: Context): MyPhoneState
Content copied to clipboard

Return a data from SIM card.

getOperatorName
Link copied to clipboard
private fun getOperatorName(operator: String): String
Content copied to clipboard

Get operator name from operator code for the Czech Republic and neighboring countries.

networkTypeToString
Link copied to clipboard
private fun networkTypeToString(intNetworkType: Int): String
Content copied to clipboard

Get the text type of mobile network from int value.