get

inline operator fun <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.

Return

Contents of the column, or null if Cursor.isNull returns true for the specified column.

Parameters

columnIndex

zero-based index of the column.