OnDeviceModelStatus

@PublicPreviewAPI
class OnDeviceModelStatus


Represents the current status of the on-device AI model.

Summary

Public companion properties

OnDeviceModelStatus

The on-device model is available and ready for use.

OnDeviceModelStatus

The on-device model is available for download.

OnDeviceModelStatus

The on-device model is currently being downloaded.

OnDeviceModelStatus

The on-device model is unavailable on the device.

Public functions

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

Public companion properties

AVAILABLE

val AVAILABLEOnDeviceModelStatus

The on-device model is available and ready for use.

DOWNLOADABLE

val DOWNLOADABLEOnDeviceModelStatus

The on-device model is available for download.

DOWNLOADING

val DOWNLOADINGOnDeviceModelStatus

The on-device model is currently being downloaded.

UNAVAILABLE

val UNAVAILABLEOnDeviceModelStatus

The on-device model is unavailable on the device.

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String