AboundServices

@objc
public final class AboundServices : NSObject

AboundServices manages access to the Abound API for 3D scanning.

Before using the SDK, make sure to call AboundServices.provideAPIKey(...) with your app’s API key.

  • Provide your API key to access the Abound API.

    Call this when your application starts. For example, when your main view controller has loaded.

    class ViewController: UIViewController {
        override func viewDidLoad() {
            super.viewDidLoad()
    
            AboundServices.provideAPIKey("sk_your_api_key")
        }
    }
    

    Note

    The API is not accessed until an AboundScanController is first made visible.

    Declaration

    Swift

    @objc
    public static func provideAPIKey(_ apiKey: String)

    Parameters

    apiKey

    Your app’s API key, available at https://metascan.ai/developer.