Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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:

  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 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 
Anchor
veri
veri

Yalnızca RMC'ye veri göndermek için aşağıdaki yöntemi kullanın:


Code Block
languageapplescript
titleObjective-C
[Visilabs createAPI:@"OrganizasyonID" withSiteID:@"SiteID" withSegmentURL:@"http://lgr.visilabs.net" withDataSource:@"DataSource" withRealTimeURL:@"http://rt.visilabs.net" withChannel:@"IOS"];

...

Code Block
languageapplescript
titleSwift
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) 
Anchor
recommend
recommend

RMC'ye veri göndermek ve tavsiyeler almak için aşağıdaki yöntemi kullanın:


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

...

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

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) 
Anchor
inapp
inapp

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
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
languageactionscript3
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" )

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 
Anchor
geofence
geofence

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
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" withGeofenceURL:@"http://s.visilabs.net/geojson" withGeofenceEnabled:YES];

...

Code Block
languageactionscript3
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" 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