SFNotificationServiceConfig

@objc(SFMCNotificationServiceConfig)
public final class SFNotificationServiceConfig : NSObject

The configuration class for the notification service which provides configuration options for notification service extension, including option for setting logging levels.

  • The log level used for notification service extension. The default is .none.

    Declaration

    Swift

    @objc
    public let logLevel: LogLevel
  • Initializes the notification service configuration with a specified log level.

    Declaration

    Swift

    @objc
    public init(logLevel: LogLevel = .none)

    Parameters

    logLevel

    The desired logging level. Defaults to .none.