Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Use the following method to initialize the RMC object for in-app messaging: 
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"];

...

Code Block
languageapplescript
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" )



Info
After you call the customEvent

...

Function to send data, SDK will automatically check for a new in-app messages and pop-ups if applicable.



...

Parent Topic: Getting Data