Classes

The following classes are available globally.

  • Class for creating and presenting Metaverse experiences.

    Follow the following steps to present a Metaverse experience using this framework.

    1. Retrieve your API key from https://studio.gometa.io/sdk/keys
    2. Use your API key to initialize Meta in your ApplicationDelegate by calling: Meta.configure(withKey: "API_KEY") in application(didFinishLaunchingWithOptions:)
    3. Create a MetaExperience object with the ID of the experience you want to load: var experience = MetaExperience(id: "EXPERIENCE_ID")
    4. (optional) Set the delegate of the experience if you want to be notified when the experience is closed: experience.delegate = self
    5. Present the experience: Meta.shared.present(experience: experience)

    Please report any errors, issues, or suggestions via Github issues.

    See more

    Declaration

    Swift

    public class Meta