Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Use the following method to initialize the RMC object for in-app messaging: 

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"];
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" )

After you call the customEvent function to send data, SDK will automatically check for a new in-app messages and pop-ups if applicable.

 

  • No labels