Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageactionscript3
titleSwift
Visilabs.createAPI("OrganizasyonID", 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
languageapplescript
titleObjective-C
 [Visilabs createAPI:"OrganizasyonID" 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
languageactionscript3
titleSwift
Visilabs.createAPI("OrganizasyonID", 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)
Info

To learn the OrganizationID, SiteID and Datasource parameters, login to RMC GUI and view your profile details or send a request to RMC Technical Client Support Team.