iOS Lib Overview
We are working on a new SDK that will replace this Javascript library during early 2023. Please check the section Building your own Experience and Embedding Experiences using the SDK sections to find out more.
Monterosa / Interaction Cloud (M/IC) was previously known as LViS. As such, you will find API documentation using the term.
Add to project
Add to your Cartfile file
Dependencies
The LViS library internally depends on Enmasse library and its dependencies
LViS library structure
There are 4 basic blocks that you need to work with:
LViS - is an entry point to work with LViS lib
Project - is an entity that represents an 'LViS Project'
Event - is an entity that represents an 'LViS Event'
Elements - are entities that represent 'LViS Elements'
How to use
To listen to LViS changes you need to set delegate:
Where LViSDelegate is
LViS needs to be initialized with projectUuid and host
It's possible to load App Setup before connecting to LViS
To open LViS
After you've connected, you can get all events
To subscribe to an event
When you've subscribed to event you can listen to its changes:
From an event you can get all elements that are created inside. You can listen to each element's changes. For example, to listen to Regular poll's changes:
After you've done with LViS you need to close it to clean resources:
If you need to manage logs:
Changelog
Last updated