AppDelegate dosyasında bulunan "application: didFinishLaunchingWithOptions" dosyasından SDK'nın CreateAPI yöntemini çağırın.
SDK'nın 4 farklı kullanımı vardır:
1- RMC'ye veri gönderme
2- RMC'ye veri gönderme ve Tavsiyeler Alma (recommendations)
3- RMC'ye veri gönderme, Tavsiyeler ve Uygulama içi mesajlar alma (recommendations, in-app messages)
4- RMC'ye Veri Göndermek, Tavsiyeler ve Uygulama İçi Mesajlar Almak ve Geofence Modülünü Çalıştırmak (geofencing)
RMC'ye veri gönderme
Yalnızca RMC'ye veri göndermek için aşağıdaki yöntemi kullanın:
[Visilabs createAPI:@"OrganizasyonID" withSiteID:@"SiteID" withSegmentURL:@"http://lgr.visilabs.net" withDataSource:@"DataSource" withRealTimeURL:@"http://rt.visilabs.net" withChannel:@"IOS"];
Visilabs.createAPI("OrganizasyonID", withSiteID:"SiteID", withSegmentURL: "http://lgr.visilabs.net", withDataSource: "DataSource", withRealTimeURL: "http://rt.visilabs.net", withChannel: "IOS")
RMC'ye veri gönderme ve Tavsiyeler Alma (Recommendations)
RMC'ye veri göndermek ve Tavsiyeler almak için aşağıdaki yöntemi kullanın:
[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"];
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")
RMC'ye veri gönderme, Tavsiyeler ve Uygulama içi mesajlar alma (Recommendations, In-App Messages)
Tavsiyeler, Uygulama İçi iletileri almak için ve RMC'ye veri göndermek için aşağıdaki yöntemi kullanın:
[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"];
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" )
RMC'ye Veri Göndermek, Tavsiyeler ve Uygulama İçi Mesajlar Almak ve Geofence Modülünü Çalıştırmak
RMC'ye veri göndermek, Öneriler ve Uygulama İçi mesaj almak ve Geofence Modülünü çalıştırmak için aşağıdaki yöntemi kullanın:
[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];
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)
OrganizationID, SiteID ve Veri Kaynağı Parametrelerini öğrenmek için RMC GUI'ye giriş yapın ve profil ayrıntılarınızı görüntüleyin veya RMC destek ekibine istek gönderin.
Üst Başlık: iOS - Mobile Tagging