PushTriggerOption

@objc(SBDPushTriggerOption)
public enum PushTriggerOption : Int
extension PushTriggerOption: RawRepresentable, Codable

The options to choose which push notification for the current user to receive.

Since

3.0.128
  • all

    Receive all of remote push notification.

    Declaration

    Swift

    case all = 0
  • off

    Do NOT receive any remote push notification.

    Declaration

    Swift

    case off = 1
  • Receive only mentioned messages’s notification.

    Declaration

    Swift

    case mentionOnly = 2
  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public var rawValue: String { get }
  • Declaration

    Swift

    public init(rawValue: String)
  • 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