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

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

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

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

RelatedDigital.sync()

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

For example, calling RelatedDigital.setEmail() 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 value.

RelatedDigital.setGsmPermit()

For entering gmsPermit value.

RelatedDigital.setTwitterId()

For entering twitterId value.

RelatedDigital.setEmail()

For entering email value.

RelatedDigital.setFacebookId()

For entering facebookId value.

RelatedDigital.setRelatedDigitalUserId()

For entering relatedDigitalUserId value. This value is a value that you use to make a user unique in the system. For example, email, customer Id, account Id, etc.

RelatedDigital.setPhoneNumber()

For entering phoneNumber value.

RelatedDigital.setUserProperty()

For entering a user information.

RelatedDigital.removeUserProperty()

For removing a user information

RelatedDigital.removeUserProperties()

For removing all user information.

RelatedDigital.registerEmail()

For sending the email and 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.sendTheListOfAppsInstalled()

For sending the list of the applications that were installed from Google Play Store, Amazon App Store and Huawei AppGallery to the server.

RelatedDigital.sendLocationPermission()

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

RelatedDigital.getFavorites()

For using the Favorite Attributes Action.

RelatedDigital.getRecommendations()

For using the Recommendations Action.

RelatedDigital.requestLocationPermission()

For requesting location permissions from the user in run time. (These permissions are must to use geofencing feature)