Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
customEvent(String pageName, HashMap<String, String> properties, Activity parent)

...

Inline Nps With Numbers

You should put InlineNpsWithNumbersView into a layout file that you prefer in your project. An example usageInlineNpsWithNumbersView'ı projenizde tercih ettiğiniz bir layout dosyasına koymalısınız. Örneknkullanım:

Code Block
?xml version="1.0" encoding="utf-8"?>
<
LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
   xmlns:app="http://schemas.android.com/apk/res-auto">
   <com.visilabs.inApp.inlineNpsWithNumber.InlineNpsWithNumbersView
       android:id="@+id/inlineNps"
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       />
</
LinearLayout
>

After putting InlineNpsWithNumbersView, you should access the object in the related program code (Java or Kotlin) and you should call the method setNpsWithNumberAction() on this object. This method takes 1 mandatory (Context context) and 3 optional parameters (HashMap<String, String> propertiesInlineNpsWithNumbersView 'i koyduktan sonra ilgili program kodundaki (Java veya Kotlin) nesneye erişmeli ve bu nesne üzerinde setNpsWithNumberAction() yöntemini çağırmalısınız. Bu yöntem 1 zorunlu (Bağlam bağlamı) ve 3 isteğe bağlı parametre (HashMap<String, String> özellikleri, NpsItemClickListener npsItemClickListener, Activity parentüst) alır.

Properties is for adding extra query parameters you want, to the request.
npsItemClickListener is for getting the control when the user clicks on a banner. If you don’t want the SDK to direct the user to the link automatically, you can use this interfaceÖzellikler, isteğe ek olarak istediğiniz sorgu parametrelerini eklemek içindir.
nps ItemClickListener, kullanıcı bir banner'ı tıkladığında kontrolü elde etmek içindir. Sdk'nın kullanıcıyı otomatik olarak bağlantıya yönlendirmesini istemiyorsanız, bu arayüzü kullanabilirsiniz.

Ürün Durum Bilgisi

RMC Panelde tanımladığınız Ürün Durum Bilgisi aksiyonu Ürün Görüntüleme, Sepete Ekleme ve Favoriye Ekleme/Çıkarma eventlerinde çalışmaktadır. Bu eventlerde ürün idnin gönderildiğinden emin olmalısınız. Bu eventlerde çağırdığınız customEvent metodunun Activity overloadını alması gerekmektedir.

...