inline operator fun <reified T> Cursor.get(columnIndex: Int): T?
Generic version of Cursor.getString, Cursor.getNullableShort, Cursor.getNullableInt, Cursor.getNullableLong, Cursor.getNullableFloat, Cursor.getNullableDouble, and Cursor.getBlob.
T must be one of String, Short, Int, Long, Float, Double, or ByteArray) - method will throw an IllegalArgumentException for any other type.
columnIndex
- zero-based index of the column.
Return
Contents of the column, or null if Cursor.isNull returns true
for the specified column.