initWithClientKey
initWithClientKey
được sử dụng trong hàm didFinishLaunchingWithOptions
trong file AppDelegate
của bạn.setDeviceID
initWithClientKey
khi bạn khởi tạo Pushdy SDK để đảm bảo Custom Device ID được lưu lại trước khi Pusdy SDK gửi yêu cầu tới máy chủ.getDeviceID
registerForPushNotification
checkNotificationEnabled
getDeviceToken
getPendingNotification
getPendingNotifications
setAttribute
pushAttribute
setAttribute
nhưng chỉ hoạt động với thuộc tính được định nghĩa là kiểu mảng (Array). Mảng giá trị mới sẽ được gắn thêm vào sau giá trị cũ.getPlayerId
setDeviceID
.
readyForHandlingNotification
getPendingNotification
hoặc getPendingNotifications
. Mặc định giá trị được trả về sẽ là true, có nghĩa là Push Notification sẽ được xử lý ngay khi Device của bạn nhận được.onNotificationReceived
onNotificationOpened
setPushBannerAutoDismiss
setPushBannerAutoDismissDuration
setCustomPushBanner
setCustomMediaKey