bindURI

open fun bindURI(index: Int, value: URI)

bind value or a null if the value is null

Note that there are three “URL” classes and you need to choose wisely:

java.net.URL
Java 1.0 class to handle URLs. Tries to resolve the URL on the net. Will hang and throw exception when this fails. Try to avoid if at all possible.
java.net.URI
Java 1.4 replacement for java.net.URL. Use when you need a instance which is java.io.Serializable.
android.net.Uri
Android replacement for java.net.URL. Use when you need a instance which is android.os.Parcelable.

Parameters

index

parameter index

value

value to bind (may be null)

See also

android.database.sqlite.SQLiteStatement#bindString(int, String)