Versions Compared

Key

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

...

Metot

Açıklama

RelatedDigital.init()

SDK’nın init edilmesi ve çalışması için çağırılması gereken zorunlu bir metottur. Application sınıfı içinde çağırılması önerilirInitializes the SDK. It is recommended to call it in the Application class.

RelatedDigital.setIsPushNotificationEnabled()

Enables/Disables the Push Notification Modülünün etkinleştirilmesini veya pasifleştirilmesini sağlar. Ayrıca, opsiyonel parametreleri aracılığıyla bildirim alanını özelleştirebilirsiniz. Örnegin bildirim alanı küçük ikon belirlenmesi:Module. Also, it customizes the notification area via its optional parameters. Example: setting the small icon in the notification area

notificationSmallIcon

RelatedDigital.setIsInAppNotificationEnabled()

Enables/Disables the In-App Notification Modülünün etkinleştirilmesini veya pasifleştirilmesini sağlarModule.

RelatedDigital.setIsGeofenceEnabled()Geofence Modülünün

etkinleştirilmesini veya pasifleştirilmesini sağlarEnables/Disables the Geofencing Module.

RelatedDigital.setGoogleAppAlias()Google servislerinin

etkin olduğu cihazlar için appAlias değerinin girilmesi içindirFor entering the appAlias value in the devices whose Google services are active.

RelatedDigital.setHuaweiAppAlias()

Google servislerinin etkin olmadığı Huawei cihazlar için appAlias değerinin girilmesi içindirFor entering the appAlias value in the devices whose Google services are not active (Huawei devices).

RelatedDigital.setOrganizationId()OrganizationId

değerinin girilmesi içindirFor entering the organizationId value.

RelatedDigital.setProfileId()ProfileId

değerinin girilmesi içindirFor entering the profileId value.

RelatedDigital.setDataSource()DataSource

değerinin girilmesi içindirFor entering the dataSource value.

RelatedDigital.setRequestTimeoutInSecond()Sorgularda

kullanılacak timeout değerinin girilmesi içindirFor entering the timeout value that is going to be used in the requests.

RelatedDigital.setAdvertisingIdentifier()AdvertisingIdentifier

değerinin girilmesi içindirFor entering the advertisingIdentifier value.

RelatedDigital.setExVisitorId()

exVisitorId değerinin girilmesi içindirFor entering the exVisitorId value.

RelatedDigital.setToken()

token değerinin girilmesi içindirFor entering the token value.

RelatedDigital.setInAppButtonInterface()

For entering the callback interface that you want it to get triggered after a click event happens in In-App bildirimlerde butona tıklanma sonrası çağırılmasını istediğiniz interface değerinin girilmesi içindirnotifications.

RelatedDigital.clearCookieId()

cookieId değerinin sıfırlanması içindirFor clearing the cookieId value.

RelatedDigital.getSdkVersion()

sdkVersion değerinin alınması içindirFor getting the sdkVersion value.

RelatedDigital.getDeviceType()

deviceType değerinin alınması içindirFor getting the deviceType value.

RelatedDigital.getDeviceName()

deviceName değerinin alınması içindirFor getting the deviceName value.

RelatedDigital.getCarrier()

carrier değerinin alınması içindirFor getting the carrier value.

RelatedDigital.getIdentifierForVendor()

identifierForVendor değerinin alınması içindirFor getting the identifierForVendor value.

RelatedDigital.getLocal()

local değerinin alınması içindirFor getting the local value.

RelatedDigital.getUserAgent()

userAgent değerinin alınması içindirFor getting the userAgent value.

RelatedDigital.signUp()Kullanıcının sisteme kaydedilmesi içindir.

For making a user signup

RelatedDigital.login()Kullanıcının sisteme girişi içindir.

For making a user login

RelatedDigital.logout()Kullanıcının sistemden çıkışı içindir.

For making a user logout

RelatedDigital.sendPushNotificationOpenReport()Kullanıcının bir bildirime tıklaması sonrası, bildirime tıklandığı bilgisinin raporlara yansıması için çağırılması gereken metottur

For sending the information of clicking on the notification by the user the user so that it can be reflected in the reports on RMC panel.

RelatedDigital.trackRecommendationClick()Kullanıcının Öneriler özelliği ile edindiğiniz bir ürünle etkileşiminin olması durumunda bu metot aracılığıyla bu durumun raporlara yansıması sağlanır

For sending the information of clicking on a product that you offered via Recommendations Action by the user so that it can be reflected in the reports on RMC panel.

RelatedDigital.customEvent()Sunuculara veri gönderimi ve uygulama içi bildirimleri gösterme amacıyla kullanılır

For sending data (information) to the server and showing in-app notifications to the user.

RelatedDigital.sync()

Yerelde var olan kullanıcı bilgilerinin sunuculara gönderilmesini sağlar.

Örneğin, For sending the user information that is held in local (SDK) to the server.

For example, calling RelatedDigital.setEmail() metodunun çağırılması email değerinin yerelde (SDK’da) tutulmasını; ardından sync() metodunun çağırılması ise bu email değerinin sunuculara gönderilmesini sağlar method saves the email information in local (in the SDK) whereas calling sync() method after RelatedDigital.setEmail() sends the email information to the server.

RelatedDigital.setEmailPermit()

For entering emailPermit değerinin girilmesi içindirvalue.

RelatedDigital.setGsmPermit()

For entering gmsPermit değerinin girilmesi içindirvalue.

RelatedDigital.setTwitterId()

For entering twitterId değerinin girilmesi içindirvalue.

RelatedDigital.setEmail()

For entering email değerinin girilmesi içindirvalue.

RelatedDigital.setFacebookId()

For entering facebookId değerinin girilmesi içindirvalue.

RelatedDigital.setRelatedDigitalUserId()

For entering relatedDigitalUserId değerinin girilmesi içindir. Bu değer kullanıcınızı tekilleştirmek için kullandığınız değerdir. Örnekvalue. This value is a value that you use to make a user unique in the system. For example, email, müşteri customer Id, hesap Id, vbaccount Id, etc.

RelatedDigital.setNotificationLoginID()

You must set a user ID value via this method after a user logins in your application in order to get the last 30-days notifications based on user ID values.

RelatedDigital.setPhoneNumber()

For entering phoneNumber değerinin girilmesi içindirvalue.

RelatedDigital.setUserProperty()Kullanıcıyla

ilgili herhangi bir özelliğin girilmesi içindirFor entering a user information.

RelatedDigital.removeUserProperty()Kullanıcıyla ilgili girilmiş herhangi bir özelliğin kaldırılması içindir.

For removing a user information

RelatedDigital.removeUserProperties()Kullanıcıyla

ilgili girilmiş tüm özelliklerin kaldırılması içindirFor removing all user information.

RelatedDigital.registerEmail()

Kullanıcının For sending the email ve IYS bilgilerinin sunuculara iletilmesi içindir.

registerEmail() metodu email bilgisini otomatik olarak sunuculara iletir. Sonrasında sync() metodunun çağırılmasına gerek yoktur.

RelatedDigital.getPushMessages()

Son 30 gün içerisinde kullanıcıya RelatedDigital sunucularından gönderilmiş bildirimlerin içeriğini elde etmek içindirand IYS information (for Turkey) of the user to the server.

It sends the information directly to the server. You do not need to call sync() afterwards.

RelatedDigital.getPushMessages()

For getting the content of the push messages that were sent to the user in the last 30 days.

RelatedDigital.getPushMessagesWithID()

For getting the content of the last 30-days push messages that were sent to the user who is currently logged-in in the application. You must have set the userID value via RelatedDigital.setNotificationLoginID() method before calling this method.

RelatedDigital.sendTheListOfAppsInstalled()

Kullanıcının cihazında For sending the list of the applications that were installed from Google Play Store, Amazon App Store ve Huawei App Gallery’den yüklenmiş uygulamarın listesini sunuculara göndermek içindirand Huawei AppGallery to the server.

RelatedDigital.sendLocationPermission()Kullanıcının lokasyon izin durumu bilgisinin sunuculara gönderilmesi içindir

For sending the location permission status of the application to the server.

RelatedDigital.getFavorites()Favori Özellik

Aksiyonu’nu kullanmak içindirFor using the Favorite Attributes Action.

RelatedDigital.getRecommendations()Öneriler Özelliği’ni kullanmak içindir.()

For using the Recommendations Action.

RelatedDigital.requestLocationPermission()

For requesting location permissions from the user. You can call it in the related activity in your application. (These permissions are must to use geofencing feature)