Info |
---|
Call the SDK’s CreateAPI method from the “application:didFinishLaunchingWithOptions” located in the AppDelegate file. |
There are 3 different usages of the SDK:
1- Sending data to RMC
2- Sending data to RMC and Receiving Recommendations
3- Sending data to RMC, Receiving Recommendations and In-App messages
Sending Data to RMC
...
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:
RMC'ye Veri Gönderme
- RMC'ye Veri Gönderme ve Tavsiyeler Alma (Recommendations)
- RMC'ye Veri Gönderme, Tavsiyeler ve Uygulama İçi Mesajlar Alma (Recommendations, In-app Messages)
- 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:
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"]; |
...
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") |
Sending Data to RMC and Receiving Recommendations
...
...
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:
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"]; |
...
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") |
Sending Data to RMC, Receiving Recommendations and In-App Messages
...
...
RMC'ye Veri Gönderme, Tavsiyeler ve Uygulama içi Mesajlar Alma (Recommendations, In-App Messages)
Tavsiyeler, uygulama içi iletileri almak için ve RMC'ye veri göndermek için aşağıdaki yöntemi kullanın:
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 | actionscript3 |
---|
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" ) |
Sending Data to RMC, Receiving Recommendations and In-App Messages and Running Geofence Module
...
...
RMC'ye Veri Göndermek, Tavsiyeler ve Uygulama İçi Mesajlar Almak ve Geofencing Modülünü Çalıştırmak
RMC'ye veri göndermek, öneriler, uygulama içi mesaj almak ve Geofencing modülünü çalıştırmak için aşağıdaki yöntemi kullanın:
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" withGeofenceURL:@"http://s.visilabs.net/geojson" withGeofenceEnabled:YES]; |
...
Code Block |
---|
language | actionscript3 |
---|
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" 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. |
...
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. |
...
Ana Başlık: iOS -
...
SDK