Android Native SDK
Các hàm trong Adnroid Native SDK
initWith
initWithString clientKey = "YOUR_CLIENT_KEY";
Pushdy.initWith(this, clientKey, this);val clientKey = "YOUR_CLIENT_KEY"
Pushdy.initWith(this, clientKey, this)setDeviceID
setDeviceIDString customDeviceID = "YOUR CUSTOM ID";
Pushdy.setDeviceID(customDeviceID);val customDeviceID = "YOUR CUSTOM ID"
Pushdy.setDeviceID(customDeviceID)getDeviceID
getDeviceIDString *yourDeviceID = [Pushdy getDeviceID]var yourDeviceID = Pushdy.getDeviceID()isNotificationEnabled
isNotificationEnabledgetDeviceToken
getDeviceTokengetPendingNotification
getPendingNotificationgetPendingNotifications
getPendingNotificationssetAttribute
setAttributepushAttribute
pushAttributegetPlayerId
getPlayerIdCác Delegation trong Android Native SDK
readyForHandlingNotification
readyForHandlingNotificationonNotificationReceived
onNotificationReceivedonNotificationOpened
onNotificationOpenedMột số hàm dùng để tuỳ biến hiển thị Push Notification
setPushBannerAutoDismiss
setPushBannerAutoDismisssetPushBannerAutoDismissDuration
setPushBannerAutoDismissDurationsetCustomPushBanner
setCustomPushBannersetCustomMediaKey
setCustomMediaKeyLast updated