Language

CloudMediaProvider.Query Method

Definition

Overloads

Name Description
Query(Uri, String[], Bundle, CancellationSignal)

Implementation is provided by the parent class.

Query(Uri, String[], String, String[], String)

Implementation is provided by the parent class.

Query(Uri, String[], String, String[], String, CancellationSignal)

Implementation is provided by the parent class.

Query(Uri, String[], Bundle, CancellationSignal)

Implementation is provided by the parent class.

[Android.Runtime.Register("query", "(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor;", "", ApiSince=33)]
public override sealed Android.Database.ICursor Query(Android.Net.Uri uri, string[]? projection, Android.OS.Bundle? queryArgs, Android.OS.CancellationSignal? cancellationSignal);
[<Android.Runtime.Register("query", "(Landroid/net/Uri;[Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;)Landroid/database/Cursor;", "", ApiSince=33)>]
override this.Query : Android.Net.Uri * string[] * Android.OS.Bundle * Android.OS.CancellationSignal -> Android.Database.ICursor

Parameters

uri
Uri

The URI that selects the cloud-media collection or search operation.

projection
String[]

Not used to select columns; the selected cloud-media callback supplies the cursor.

queryArgs
Bundle

Arguments for the selected callback. Routing keys can be removed before the callback receives this bundle.

cancellationSignal
CancellationSignal

The cancellation signal forwarded to category, media-set, suggestion, and search callbacks.

Returns

The cursor returned by the callback selected by the URI.

Attributes

Remarks

Implementation is provided by the parent class. Cannot be overridden.

Java documentation for android.provider.CloudMediaProvider.query(android.net.Uri, java.lang.String[], android.os.Bundle, android.os.CancellationSignal).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Query(Uri, String[], String, String[], String)

Implementation is provided by the parent class.

[Android.Runtime.Register("query", "(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;", "", ApiSince=33)]
public override sealed Android.Database.ICursor Query(Android.Net.Uri uri, string[]? projection, string? selection, string[]? selectionArgs, string? sortOrder);
[<Android.Runtime.Register("query", "(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;", "", ApiSince=33)>]
override this.Query : Android.Net.Uri * string[] * string * string[] * string -> Android.Database.ICursor

Parameters

uri
Uri

Not used; this SQL-style query overload always throws an unsupported-operation exception.

projection
String[]

Not used; this SQL-style query overload always throws an unsupported-operation exception.

selection
String

Not used; this SQL-style query overload always throws an unsupported-operation exception.

selectionArgs
String[]

Not used; this SQL-style query overload always throws an unsupported-operation exception.

sortOrder
String

Not used; this SQL-style query overload always throws an unsupported-operation exception.

Returns

This overload does not return. Use Query(Uri, String[], Bundle, CancellationSignal) for supported cloud-media queries.

Attributes

Remarks

Implementation is provided by the parent class. Throws by default, and cannot be overridden.

Java documentation for android.provider.CloudMediaProvider.query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Query(Uri, String[], String, String[], String, CancellationSignal)

Implementation is provided by the parent class.

[Android.Runtime.Register("query", "(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/database/Cursor;", "", ApiSince=33)]
public override sealed Android.Database.ICursor Query(Android.Net.Uri uri, string[]? projection, string? selection, string[]? selectionArgs, string? sortOrder, Android.OS.CancellationSignal? cancellationSignal);
[<Android.Runtime.Register("query", "(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Landroid/os/CancellationSignal;)Landroid/database/Cursor;", "", ApiSince=33)>]
override this.Query : Android.Net.Uri * string[] * string * string[] * string * Android.OS.CancellationSignal -> Android.Database.ICursor

Parameters

uri
Uri

Not used; this SQL-style query overload always throws an unsupported-operation exception.

projection
String[]

Not used; this SQL-style query overload always throws an unsupported-operation exception.

selection
String

Not used; this SQL-style query overload always throws an unsupported-operation exception.

selectionArgs
String[]

Not used; this SQL-style query overload always throws an unsupported-operation exception.

sortOrder
String

Not used; this SQL-style query overload always throws an unsupported-operation exception.

cancellationSignal
CancellationSignal

Not used; this SQL-style query overload always throws an unsupported-operation exception.

Returns

This overload does not return. Use Query(Uri, String[], Bundle, CancellationSignal) for supported cloud-media queries.

Attributes

Remarks

Implementation is provided by the parent class. Throws by default, and cannot be overridden.

Java documentation for android.provider.CloudMediaProvider.query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, android.os.CancellationSignal).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to