SASFeatureFlag
@objc
public enum SASFeatureFlag : Int
Feature Flag Enumeration for SASKit
Enumeration of SAS Feature Flags These flags allow users to specify which features are supported
Since
since 26.0.0-
Enable popover tray that hosts content like informational tooltips, report customization panels and action dialogs
Since
since 26.0.0Declaration
Swift
case floatingTray = 1
-
Enable library browser for adding reports
Since
since 26.0.0Declaration
Swift
case addReports = 2
-
Return the raw value of the SASFeatureFlag as a NSNumber helper method
Since
since 26.0.0Declaration
Swift
public func asNumber() -> NSNumber
-
Return the SASFeatureFlag as a String helper method
Since
since 26.0.0Declaration
Swift
public func toString() -> String
-
Static method to convert a string into a SASFeatureFlag helper method
Since
since 26.0.0Declaration
Swift
public static func fromString(_ string: String) -> SASFeatureFlag?
-
Determine if the SASFeatureFlag is enabled
Since
since 26.0.0Declaration
Swift
public func isEnabled() -> Bool
-
Enable or disable the SASFeatureFlag
Since
since 26.0.0Declaration
Swift
public func setEnabled(_ enable: Bool)