QueryResult

data class QueryResult : Parcelable


The result of a camera feature combination query.

Summary

Nested types

@IntDef(value = [0, 1, 2])
@Retention(value = AnnotationRetention.SOURCE)
annotation QueryResult.Result

Public companion properties

Parcelable.Creator<QueryResult>

Public constructors

QueryResult(@QueryResult.Result result: Int, timestamp: Long)

Public functions

final Int
open Unit
writeToParcel(dest: Parcel, flags: Int)

Public properties

Int

The result of the query.

Long

The timestamp of the query result.

Public companion properties

Public constructors

QueryResult

QueryResult(@QueryResult.Result result: Int, timestamp: Long)

Public functions

describeContents

final fun describeContents(): Int

writeToParcel

open fun writeToParcel(dest: Parcel, flags: Int): Unit

Public properties

result

val resultInt

The result of the query. Must be one of the values in Result.

timestamp

val timestampLong

The timestamp of the query result. This is the timestamp of the last update to the database, and only valid if the result is not Result.UNKNOWN.