NotificationButton

@objcMembers
@objc(GetSocialNotificationButton)
public final class NotificationButton : NSObject

Define action button object.

  • Constant for consume action id.

    Declaration

    Swift

    public static let actionIdConsume: String
  • Constant for ignore action id.

    Declaration

    Swift

    public static let actionIdIgnore: String
  • Action id.

    Declaration

    Swift

    public let actionId: String
  • Notification button title.

    Declaration

    Swift

    public let title: String
  • Create a notification button instance with the provided parameters.

    Declaration

    Swift

    @objc(createWithTitle:actionId:)
    public static func create(title: String, actionId: String) -> NotificationButton

    Parameters

    title

    Notification button title.

    actionId

    Action id

    Return Value

    New NotificationButton instance.

  • Description.

    Declaration

    Swift

    public override var description: String { get }