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
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
Link copied to clipboard