...
Use the following method to initialize the RMC object for in-app messaging:
Code Block |
---|
language | applescript |
---|
title | Objective-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 |
---|
language | applescript |
---|
title | Swift |
---|
|
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