5.1. SMCloudServices

Provides the function of SMCS service

  • Method

    Name

    Contents

    showRegistrationView

    It displays a view of the Star Micronics Cloud registration.

    isRegistered

    Checks whether the application is registered with the Star Micronics Cloud.

5.1.1. showRegistrationView

It displays a view of the Star Micronics Cloud registration.

../_images/SMCS_Registration_View1.png
  • Declaration

    open class func showRegistrationView(_ completion: ((Bool) -> Void)!)
    
  • Parameter

    Name Contents Type
    completion
    When the View is closed, check application registration status as following parameter.
    - isRegistered -
    true … Registered
    false … Unregistered
    (Bool) -> Void
  • Return value

    None

5.1.2. isRegistered

Checks whether the application is registered with the Star Micronics Cloud.

  • Declaration

    open class func isRegistered() -> Bool
    
  • Parameter

    None

  • Return value

    Contents Type
    Result
    true … Registered
    false … Unregistered
    Bool