GroupChannelPushTriggerOption

@objc(SBDGroupChannelPushTriggerOption)
public enum GroupChannelPushTriggerOption : Int
extension GroupChannelPushTriggerOption: RawRepresentable, Codable

The options to choose which push notification for the current user to receive in a group channel.

Since

3.0.128
  • Follow the push trigger of current user. See PushTriggerOption.

    Declaration

    Swift

    case `default` = 0
  • all

    Receive all of remote push notification.

    Declaration

    Swift

    case all = 1
  • off

    Do NOT receive any remote push notification.

    Declaration

    Swift

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

    Declaration

    Swift

    case mentionOnly = 3
  • 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