Google is committed to advancing racial equity for Black communities. See how.

NoPermissionComplicationData

class NoPermissionComplicationData : ComplicationData
kotlin.Any
   ↳ androidx.wear.complications.data.ComplicationData
   ↳ androidx.wear.complications.data.NoPermissionComplicationData

Type sent by the system when the watch face does not have permission to receive complication data.

The text, title, and icon may be displayed by watch faces, but this is not required.

It is recommended that, where possible, tapping on the complication when in this state should trigger a permission request. A ComplicationHelperActivity may be used to make this request and update all complications if the permission is granted.

Summary

Nested classes

Builder for NoPermissionComplicationData.

Public methods
WireComplicationData

Inherited functions
Properties
MonochromaticImage?

ComplicationText?

ComplicationText?

Companion properties
ComplicationType

The ComplicationType corresponding to objects of this type.

Inherited properties

Public methods

asWireComplicationData

fun asWireComplicationData(): WireComplicationData

Properties

image

val image: MonochromaticImage?

text

val text: ComplicationText?

title

val title: ComplicationText?

Companion properties

TYPE

val TYPE: ComplicationType

The ComplicationType corresponding to objects of this type.