SASManagerDelegate

@objc public protocol SASManagerDelegate

SASManagerDelegate protocol.

This is the protocol that must be implemented by all applications that use the SASManager.

Since

since 8.22
  • The name of this application

    The SASManager uses this string to identify the application to the SAS Server.

    Since

    since 8.22

    Declaration

    Swift

    @objc optional func getApplicationName() -> String

    Return Value

    The application name as a String.

  • The Application Version as a string

    The SASManager uses this string to identify the application to the SAS Server.

    Since

    since 8.22

    Declaration

    Swift

    @objc optional func getApplicationVersion() -> String

    Return Value

    The current App version as a String.

  • Shows an alert to the user.

    This method allows the SAS Manager to alert the user.

    Since

    since 8.22

    Declaration

    Swift

    @objc optional func showAlert(withTitle: String?, message: String?, buttonTitle:String?)

    Parameters

    withTitle

    The title for the alert.

    message

    A detailed message for the user.

    buttonTitle

    Text for the button on the alert (could be OK or Close).

  • Gets the url for this app’s help.

    Since

    since 8.22

    Declaration

    Swift

    @objc optional func getHelpURL() -> URL!

    Return Value

    The help URL.

  • Override the default storage of passwords on the device keychain by the SAS Manager.

    Since

    since 8.22

    Declaration

    Swift

    @objc optional func getKeychainDelegate() -> SASKeychainDelegate?

    Return Value

    Optional override of the keychain delegate. If this is nil, the SAS Manager will store passwords on the device keychain.

  • Override the default network verification and communication by the SAS Manager.

    Since

    since 8.22

    Declaration

    Swift

    @objc optional func getNetworkDelegate() -> SASNetworkDelegate?

    Return Value

    Optional override of the network delegate. If this is nil, the SAS Manager handles default network communications.

  • Override the default implementation of file input and output by the SAS Manager.

    Since

    since 8.22

    Declaration

    Swift

    @objc optional func getFileSystemDelegate() -> SASFileSystemDelegate?

    Return Value

    An optional override of the file system delegate. All input and output by the SAS Manager is managed through this delegate.