BoundingArcWireFormat


Note: As of July 10, 2024, watch faces must use the Watch Face Format in order to be installed on new watches that launch with Wear OS 5 pre-installed. Learn more about the user-facing changes in this Help Center article.

Additionally, starting in early 2025 (specific date to be announced during Q4 2024), all new watch faces published on Google Play must use the Watch Face Format.

@ComplicationExperimental
class BoundingArcWireFormat : VersionedParcelable, Parcelable


Wire format for BoundingArc.

Summary

Public constructors

BoundingArcWireFormat(
    arcStartAngle: Float,
    totalArcAngle: Float,
    arcThickness: Float
)

Public functions

Int
Float
Float
Float
Unit
writeToParcel(parcel: Parcel?, flags: Int)

Serializes this BoundingArcWireFormat to the specified Parcel.

Constants

CREATOR

Added in 1.1.0
const val CREATORParcelable.Creator<BoundingArcWireFormat!>

Public constructors

BoundingArcWireFormat

Added in 1.1.0
BoundingArcWireFormat(
    arcStartAngle: Float,
    totalArcAngle: Float,
    arcThickness: Float
)

Public functions

describeContents

Added in 1.1.0
fun describeContents(): Int

getArcStartAngle

Added in 1.1.0
fun getArcStartAngle(): Float

getArcThickness

Added in 1.1.0
fun getArcThickness(): Float

getTotalArcAngle

Added in 1.1.0
fun getTotalArcAngle(): Float

writeToParcel

Added in 1.1.0
fun writeToParcel(parcel: Parcel?, flags: Int): Unit

Serializes this BoundingArcWireFormat to the specified Parcel.