getInt

fun getInt(key: String, default: Int = 0): Int

Get the system properties key-value, and return as Int.

Return

Int

Parameters

key

the key name.

default

the default value.