Docs
Use Cases
Producer Guide
SDK
Search…
v24
Introduction
Use Cases
When to choose Monterosa / Interaction Cloud™
Platform Components
Core Concepts
Experiences
User Management
Interaction SDK
TV & Big Screen Graphics
Scaling Capacity
FAQs
Creator User Guide
Getting Started
Studio Guide
Image or File Fields & Hosting
Localisation
Project Assets
Data Capture
Voting Certification
Curation
Twitter #Voting
User Roles
DEVELOPER GUIDES
What is an App?
Available APIs & Libraries
Creating an App in JavaScript
App Specs
TV & Big Screen Graphics
Working with Gamify
Browser Support
Advanced Topics
JavaScript lib
JavaScript Lib Overview
LViS
Listings
Event
Elements
Data Element
Regular Poll Element
Flexible Poll Element
Swing Poll Element
Emoting Poll Element
Prediction Element
Trivia Element
Powerbar Element
Curation Element
Connection Manager
Project
Date
Run
User
Storage
Sync
Migration Guide
Changelog
Android lib
Android Lib Overview
LViS
Project
Event
Elements Common API
Regular Poll Element
Swing Poll Element
Emoting Poll Element
Combi Poll Element
Powerbar Element
Trivia Element
Prediction Element
Data Element
Changelog
iOS lib
iOS Lib Overview
LViS
Project
Event
Elements Common API
Regular Poll Element
Swing Poll Element
Diametric Element
Emoting Poll Element
Combi Poll Element
Powerbar Element
Quiz Element
Trivia Element
Prediction Element
Data Element
Changelog
CONTROL API V2
Control API v2 Overview
Element Resource
Organisations
Brands
Apps
App Setup
Projects
Events
Event Templates
Elements
Objects definitions
PUBLIC FEEDS
Public Feeds
Listings
Elements
Event History
Demographics
LIMITS
Content
Vote Elements
Social Voting
Leaderboard
Extensions
Overview
Instance handshake
Project handshake
Project delete
Tabs
Event Tabs
Listings notification
Elements notification
Analytics
Assets
Event-level feed
Webhooks
COMPLIANCE
Data Requests
RELEASE NOTES
v23.0
V23.1
V23.2
Migration Guide
Powered By
GitBook
LViS
Set cache dir
Set path to your internal or external storage.
1
void
setCacheDirPath
(
String
cacheDirPath
);
Copied!
Set host and project uuid
1
void
setProject
(
String
host
,
String
projectUuid
);
Copied!
Load App Setup
1
void
loadSettings
(
ResultCallback
callback
);
Copied!
Open
Init LViS and pass observer to listen to LViS events.
1
void
open
(
LViSObserver
lViSObserver
);
Copied!
Get all events
Returns all LViS events.
1
List
<
Event
>
getAllEvents
();
Copied!
Get server time
Returns server time in milliseconds.
1
long
getServerTime
();
Copied!
Set delay
Set delay for sync purposes - this delay in milliseconds is measured by a third-party ACR library.
1
void
setDelay
(
int
delayMillis
);
Copied!
Subscribe to event
Subscribe to LViS event.
1
void
subscribe
(
Event
event
,
ResultCallback
callback
);
Copied!
Unsubscribe from event
1
void
unsubscribe
(
Event
event
);
Copied!
Close
Release LViS resources.
1
void
close
();
Copied!
Android lib - Previous
Android Lib Overview
Next - Android lib
Project
Last modified
2yr ago
Copy link
Contents
Set cache dir
Set host and project uuid
Load App Setup
Open
Get all events
Get server time
Set delay
Subscribe to event
Unsubscribe from event
Close