UserStyleSetting.CustomValueUserStyleSetting.CustomValueOption


class UserStyleSetting.CustomValueUserStyleSetting.CustomValueOption : UserStyleSetting.Option


An application specific custom value. NB the CustomValueOption.customValue is the same as the CustomValueOption.id.

Summary

Public constructors

This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public functions

open String

This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public properties

ByteArray

This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Inherited functions

From androidx.wear.watchface.style.UserStyleSetting.Option
open operator Boolean
equals(other: Any?)

This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

open Int

This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Inherited properties

From androidx.wear.watchface.style.UserStyleSetting.Option
Collection<UserStyleSetting>

This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

UserStyleSetting.Option.Id

This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public constructors

CustomValueOption

Added in 1.0.0
Deprecated in 1.3.0-alpha06
CustomValueOption(customValue: ByteArray)

Constructs a CustomValueOption.

Parameters
customValue: ByteArray

The ByteArray and value of this CustomValueOption. This may not exceed Option.Id.MAX_LENGTH.

Public functions

toString

open fun toString(): String

Public properties

customValue

Added in 1.0.0
Deprecated in 1.3.0-alpha06
val customValueByteArray

The ByteArray value for this option which is the same as the id. Note the maximum size in bytes is Option.Id.MAX_LENGTH.