DataTemplates
object DataTemplates
Functions
Link copied to clipboard
Link copied to clipboard
fun ComplicationTemplate<*>.longText(icon: Icon?, type: SmallImageType = SmallImageType.PHOTO, title: String?, text: String, launchIntent: PendingIntent?, contentDescription: ComplicationText? = null): LongTextComplicationData
Link copied to clipboard
fun ComplicationTemplate<*>.photoImage(photoImage: Icon, name: String, launchIntent: PendingIntent?, contentDescription: ComplicationText? = null): PhotoImageComplicationData
Link copied to clipboard
fun ComplicationTemplate<*>.rangedValue(value: Float, min: Float, max: Float, title: String, text: String, image: MonochromaticImage?, launchIntent: PendingIntent?): RangedValueComplicationData
Link copied to clipboard
fun ComplicationTemplate<*>.shortText(title: String?, text: String, @DrawableRes icon: Int?, launchIntent: PendingIntent?, contentDescription: ComplicationText? = null): ShortTextComplicationData
Link copied to clipboard
fun ComplicationTemplate<*>.smallImage(icon: Icon, type: SmallImageType = SmallImageType.PHOTO, name: String, launchIntent: PendingIntent?, contentDescription: ComplicationText? = null): SmallImageComplicationData