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.

...

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

...

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:


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)

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

...

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:


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 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:


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.









Parent Topic: iOS - Mobile Tagging