OnDeviceModelStatus

@PublicPreviewAPI
public final class OnDeviceModelStatus


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

Summary

Nested types

public static class OnDeviceModelStatus.Companion

Public fields

static final @NonNull OnDeviceModelStatus

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

static final @NonNull OnDeviceModelStatus

The on-device model is available for download.

static final @NonNull OnDeviceModelStatus

The on-device model is currently being downloaded.

static final @NonNull OnDeviceModelStatus

The on-device model is unavailable on the device.

Public methods

boolean
equals(Object other)
int
@NonNull String

Public fields

AVAILABLE

public static final @NonNull OnDeviceModelStatus AVAILABLE

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

DOWNLOADABLE

public static final @NonNull OnDeviceModelStatus DOWNLOADABLE

The on-device model is available for download.

DOWNLOADING

public static final @NonNull OnDeviceModelStatus DOWNLOADING

The on-device model is currently being downloaded.

UNAVAILABLE

public static final @NonNull OnDeviceModelStatus UNAVAILABLE

The on-device model is unavailable on the device.

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public @NonNull String toString()