ContentResolver.QueryArgSqlSortOrder Field

Definition

Key for an SQL style sort string that may be present in the query Bundle argument passed to ContentProvider#query(Uri, String[], Bundle, CancellationSignal) when called by a legacy client.

[Android.Runtime.Register("QUERY_ARG_SQL_SORT_ORDER", ApiSince=26)]
public const string QueryArgSqlSortOrder;
[<Android.Runtime.Register("QUERY_ARG_SQL_SORT_ORDER", ApiSince=26)>]
val mutable QueryArgSqlSortOrder : string

Field Value

Attributes

Remarks

Key for an SQL style sort string that may be present in the query Bundle argument passed to ContentProvider#query(Uri, String[], Bundle, CancellationSignal) when called by a legacy client.

<b>Apps targeting android.os.Build.VERSION_CODES#O or higher are strongly encourage to use structured query arguments in lieu of opaque SQL query clauses.</b>

Java documentation for android.content.ContentResolver.QUERY_ARG_SQL_SORT_ORDER.

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