...
There are 3 different usages of the SDK:
1- Sending data to RMC
2- Sending data to RMC and Receiving Recommendations
3- Sending data to RMC, Receiving Recommendations and In-App messages
Sending Data to RMC
Use the following method to only send data to RMC:
Code Block |
---|
language | applescript |
---|
title | Objective-C |
---|
|
[Visilabs createAPI:@"OrganizasyonIDOrganizationID" withSiteID:@"SiteID" withSegmentURL:@"http://lgr.visilabs.net" withDataSource:@"DataSource" withRealTimeURL:@"http://rt.visilabs.net" withChannel:@"IOS"]; |
...
Code Block |
---|
language | applescript |
---|
title | Swift |
---|
|
Visilabs.createAPI("OrganizasyonIDOrganizationID", withSiteID:"SiteID", withSegmentURL: "http://lgr.visilabs.net", withDataSource: "DataSource", withRealTimeURL: "http://rt.visilabs.net", withChannel: "IOS") |
...
Code Block |
---|
language | applescript |
---|
title | Objective-C |
---|
|
[Visilabs createAPI:@"OrganizasyonIDOrganizationID" withSiteID:@"SiteID" withSegmentURL:@"http://lgr.visilabs.net" withDataSource:@"DataSource" withRealTimeURL:@"http://rt.visilabs.net" withChannel:@"IOS" withRequestTimeout:30 withTargetURL:@"http://s.visilabs.net/json"]; |
...
Code Block |
---|
language | applescript |
---|
title | Swift |
---|
|
Visilabs.createAPI("OrganizasyonIDOrganizationID", withSiteID:"SiteID", withSegmentURL: "http://lgr.visilabs.net", withDataSource: "DataSource", withRealTimeURL:"http://rt.visilabs.net", withChannel: "IOS", withRequestTimeout:30, withTargetURL:"http://s.visilabs.net/json") |
...
Code Block |
---|
language | applescript |
---|
title | Objective-C |
---|
|
[Visilabs createAPI:@"OrganizasyonIDOrganizationID" withSiteID:@"SiteID" withSegmentURL:@"http://lgr.visilabs.net" withDataSource:@"DataSource" withRealTimeURL:@"http://rt.visilabs.net" withChannel:@"IOS" withRequestTimeout:30 withTargetURL:@"http://s.visilabs.net/json" withActionURL:@"http://s.visilabs.net/actjson"]; |
...
Code Block |
---|
language | actionscript3 |
---|
title | Swift |
---|
|
Visilabs.createAPI("OrganizasyonIDOrganizationID", withSiteID:"SiteID", withSegmentURL: "http://lgr.visilabs.net", withDataSource: "DataSource", withRealTimeURL: "http://rt.visilabs.net", withChannel: "IOS", withRequestTimeout:30, withTargetURL:"http://s.visilabs.net/json",withActionURL: "http://s.visilabs.net/actjson" ) |
...
...
Sending Data to RMC, Receiving Recommendations and In-App Messages and Running Geofence Module
Use the following method to send data to RMC, to receive Recommendations and In-App messages and to run Geofence Module:
Code Block |
---|
language | applescript |
---|
title | Objective-C |
---|
|
[Visilabs createAPI:@"OrganizationID" withSiteID:@"SiteID" withSegmentURL:@"http://lgr.visilabs.net" withDataSource:@"DataSource" withRealTimeURL:@"http://rt.visilabs.net" withChannel:@"IOS" withRequestTimeout:30 withTargetURL:@"http://s.visilabs.net/json" withActionURL:@"http://s.visilabs.net/actjson" withGeofenceURL:@"http://s.visilabs.net/geojson" withGeofenceEnabled:YES]; |
Code Block |
---|
language | actionscript3 |
---|
title | Swift |
---|
|
Visilabs.createAPI("OrganizationID", withSiteID:"SiteID", withSegmentURL: "http://lgr.visilabs.net", withDataSource: "DataSource", withRealTimeURL: "http://rt.visilabs.net", withChannel: "IOS", withRequestTimeout:30, withTargetURL:"http://s.visilabs.net/json",withActionURL: "http://s.visilabs.net/actjson" withGeofenceURL:@"http://s.visilabs.net/geojson" withGeofenceEnabled: true) |
Info |
---|
To learn the OrganizationID, SiteID and Datasource parameters, login to RMC GUI and view your profile details or send a request to RMC support.Technical Client Support Team. |
...
Parent Topic: iOS - Mobile Tagging