Package com.bytedesk.core.push.ios
Class ApnsPushService
java.lang.Object
com.bytedesk.core.push.ios.ApnsPushService
Pushy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate com.eatthepath.pushy.apns.ApnsClient
getApnsClient
(String build, String p12Url, String p12Password) void
push
(String deviceToken, String nickname, String content, int badgeNumber, String bundleIdentifier, String build, String p12Url, String p12Password) 推送一条消息 payloadBuilder.setContentAvailable(false);void
pushToBytedeskiOSDebug
(String deviceToken, String nickname, String content) void
pushToBytedeskiOSRelease
(String deviceToken, String nickname, String content)
-
Constructor Details
-
ApnsPushService
public ApnsPushService()
-
-
Method Details
-
pushToBytedeskiOSRelease
-
pushToBytedeskiOSDebug
-
push
public void push(String deviceToken, String nickname, String content, int badgeNumber, String bundleIdentifier, String build, String p12Url, String p12Password) 推送一条消息 payloadBuilder.setContentAvailable(false);- Parameters:
deviceToken
- tokennickname
- titlecontent
- contentbundleIdentifier
- bundle idbuild
- debug or releasep12Url
- urlp12Password
- password
-
getApnsClient
-