LicenceControllerInterface

public protocol LicenceControllerInterface

Get information about licence status

  • Declaration

    Swift

    func getId() -> String?

    Return Value

    the licence key

  • Declaration

    Swift

    func getStatus() -> MNLicenceStatus?

    Return Value

    the licence status

  • Adds an observer to changes in licence status

    Declaration

    Swift

    func addListener(_ object: LicenceStatusListener)

    Parameters

    object

    an object adhering to protocol LicenceStatusListener

  • Removes an observer to changes in licence status

    Declaration

    Swift

    func removeListener(_ object: LicenceStatusListener)

    Parameters

    object

    an object adhering to protocol LicenceStatusListener