NotificationProtocol

public protocol NotificationProtocol : CorvusModel

A protocol used to provide a common interface for CorvusModel components so they can access their own .notify modifier.

  • The recipients of a notification, identified by their device tokens.

    Declaration

    Swift

    var recipients: [String] { get set }
  • The title of a notification, which will be displayed as the first line.

    Declaration

    Swift

    var title: String { get set }
  • The subtitle of a notification, which will be displayed as the second line.

    Declaration

    Swift

    var subtitle: String { get set }
  • The body of a notification, which will be displayed as the last line.

    Declaration

    Swift

    var body: String { get set }