NotificationBadge

@objc(GetSocialNotificationBadge)
public final class NotificationBadge : NSObject

Describe notification badge object.

  • Create a notification badge object, which will increase the badge number with the specified value.

    Declaration

    Swift

    @objc(increaseBy:)
    public static func increase(_ by: Int32) -> NotificationBadge

    Parameters

    by

    Increase value.

    Return Value

    New NotificationBadge instance.

  • Create a notification badge object, which will set the badge number with the specified value.

    Declaration

    Swift

    @objc(setTo:)
    public static func set(_ to: Int32) -> NotificationBadge

    Parameters

    to

    Value to set badge number to.

    Return Value

    New NotificationBadge instance.

  • Description.

    Declaration

    Swift

    public override var description: String { get }