Table of Contents

PixLive SDK 5.0 upgrade instructions

PixLive SDK 5.x supports Vidinoti Beacon, which allows you to link a specific location with a content you would like to display. The SDK 5.x detects the signals emmitted from Vidinoti Beacons deployed in a space, and display the corresponding content when user enters in their ranges. According to this update, the concept of “AR model” has been removed and replaced with “Context”, which is activated when a specific trigger is detected, a trigger being an image or a beacon. Therefore, the SDK requires the following modifications in your application:

  1. Renaming of classes, protocols, and their methods: the VDARModelManager class, the VDARModel class, the VDARModelManagerDelegate protocol need to be renamed as VDARSDKController, VDARContext, and VDARSDKControllerDelegate respectively. The correspondences are summarized in the table below.

  2. Adding new method in your application delegate with their correspondign SDK calls:

     - (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification {
         [[VDARSDKController sharedInstance] application:application didReceiveLocalNotification:notification];
PixLive SDK 3.x PixLive SDK 5.0
VDARModelManager VDARSDKController
VDARModel VDARContext
VDARModelManagerDelegate VDARSDKControllerDelegate

Configuration of Vidinoti Beacons

PixLive SDK 5.x allows you to use Vidinoti Beacons in your application. Deploying beacons in a space, the SDK receives signals from the deployed beacons and detects one if you are within the range. When a beacon is detected, the SDK displays the content corresponding to the beacon.

In order to enable this feature, you need to add the following keys in Info.plist of your app, with a description explaining that the location is used to tailor presented content:

  • NSLocationAlwaysUsageDescription
  • NSLocationUsageDescription
  • NSLocationWhenInUseUsageDescription