PushNotificationDeliveryOption

@objc(SBDPushNotificationDeliveryOption)
public enum PushNotificationDeliveryOption : Int
extension PushNotificationDeliveryOption: RawRepresentable, Codable

The push option that determines how to deliver the push notification when sending a user or a file message.

  • The push notification will be delivered by the opposite user’s setting.

    Declaration

    Swift

    case `default` = 0
  • The push notification will never be delivered.

    Declaration

    Swift

    case suppress = 1
  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public init(rawValue: String)
  • Declaration

    Swift

    public var rawValue: String { get }
  • Default constructor.

    Declaration

    Swift

    public init(from decoder: Decoder) throws

    Parameters

    decoder

    Decoder instance

  • Encodes this object.

    Declaration

    Swift

    public func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance