Contents

init(presentation:metadata:tintColor:)

Creates an instance of an alarm UI.

Declaration

init(presentation: AlarmPresentation, metadata: Metadata? = nil, tintColor: Color)

Parameters

  • presentation:

    The content required for the various states of an alarm.

  • metadata:

    The additional data that you can include in your attributes.

  • tintColor:

    The tint color applied to the templated UI.

See Also

Creating an alarm attribute