AppFunctionPrimitiveTypeMetadata


class AppFunctionPrimitiveTypeMetadata : AppFunctionDataTypeMetadata


Defines the schema of a primitive data type.

Summary

Constants

const Int

Boolean type.

const Int

Byte array type.

const Int

Double type.

const Int

Float type.

const Int

Integer type.

const Int

Long type.

const Int

Pending Intent type.

const Int

String type.

const Int

Void type.

Public constructors

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Int

Inherited properties

From androidx.appfunctions.metadata.AppFunctionDataTypeMetadata
Boolean

Whether the data type is nullable.

Constants

TYPE_BOOLEAN

const val TYPE_BOOLEANInt

Boolean type.

TYPE_BYTES

const val TYPE_BYTESInt

Byte array type.

TYPE_DOUBLE

const val TYPE_DOUBLEInt

Double type.

TYPE_FLOAT

const val TYPE_FLOATInt

Float type.

TYPE_INT

const val TYPE_INTInt

Integer type.

TYPE_LONG

const val TYPE_LONGInt

Long type.

TYPE_PENDING_INTENT

const val TYPE_PENDING_INTENTInt

Pending Intent type.

TYPE_STRING

const val TYPE_STRINGInt

String type.

TYPE_UNIT

const val TYPE_UNITInt

Void type.

Public constructors

AppFunctionPrimitiveTypeMetadata

Added in 1.0.0-alpha01
AppFunctionPrimitiveTypeMetadata(type: Int, isNullable: Boolean)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

type

Added in 1.0.0-alpha01
val typeInt