Android Native SDK
Các hàm trong Adnroid Native SDK
initWith
String clientKey = "YOUR_CLIENT_KEY";
Pushdy.initWith(this, clientKey, this);val clientKey = "YOUR_CLIENT_KEY"
Pushdy.initWith(this, clientKey, this)setDeviceID
String customDeviceID = "YOUR CUSTOM ID";
Pushdy.setDeviceID(customDeviceID);val customDeviceID = "YOUR CUSTOM ID"
Pushdy.setDeviceID(customDeviceID)getDeviceID
String *yourDeviceID = [Pushdy getDeviceID]var yourDeviceID = Pushdy.getDeviceID()isNotificationEnabled
getDeviceToken
getPendingNotification
getPendingNotifications
setAttribute
pushAttribute
getPlayerId
Các Delegation trong Android Native SDK
readyForHandlingNotification
onNotificationReceived
onNotificationOpened
Một số hàm dùng để tuỳ biến hiển thị Push Notification
setPushBannerAutoDismiss
setPushBannerAutoDismissDuration
setCustomPushBanner
setCustomMediaKey
Last updated