Versions Compared

Key

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

...

Metot

Açıklama

RelatedDigital.init()

Initializes the SDK. It is recommended to call it in the Application class.

RelatedDigital.setIsPushNotificationEnabled()

Enables/Disables the Push Notification 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 Module.

RelatedDigital.setIsGeofenceEnabled()

Enables/Disables the Geofencing Module.

RelatedDigital.setGoogleAppAlias()

For entering the appAlias value in the devices whose Google services are active.

RelatedDigital.setHuaweiAppAlias()

For entering the appAlias value in the devices whose Google services are not active (Huawei devices).

RelatedDigital.setOrganizationId()

For entering the organizationId value.

RelatedDigital.setProfileId()

For entering the profileId value.

RelatedDigital.setDataSource()

For entering the dataSource value.

RelatedDigital.setRequestTimeoutInSecond()

For entering the timeout value that is going to be used in the requests.

RelatedDigital.setAdvertisingIdentifier()

For entering the advertisingIdentifier value.

RelatedDigital.setExVisitorId()

For entering the exVisitorId value.

RelatedDigital.setToken()

For 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 notifications.

RelatedDigital.clearCookieId()

For clearing the cookieId value.

RelatedDigital.getSdkVersion()

For getting the sdkVersion value.

RelatedDigital.getDeviceType()

For getting the deviceType value.

RelatedDigital.getDeviceName()

For getting the deviceName value.

RelatedDigital.getCarrier()

For getting the carrier value.

RelatedDigital.getIdentifierForVendor()

For getting the identifierForVendor value.

RelatedDigital.getLocal()

For getting the local value.

RelatedDigital.getUserAgent()

For getting the userAgent value.

RelatedDigital.signUp()

For making a user signup

RelatedDigital.login()

For making a user login

RelatedDigital.logout()

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)