このサービスを使用することで、Zoho Creator SDKに関するモバイルプッシュ通知を管理できます。
注意:Zoho CreatorのモバイルSDKは現在ベータ版の機能です。プロダクションステージのアプリにはご使用いただけません。
方法
isCreatorServerNotification(notificationInfo: [String: Any]) -> BoolZoho CreatorのAPNsサーバーからの通知かどうかを確認するために
zcNotification(_ notificationInfo: [String: Any]) -> ZCNotification?ZCNotificationオブジェクトをオプショナルで返します
パラメーター
| deviceToken | iOSが提供するデバイストークンです: didRegisterForRemoteNotificationsWithDeviceToken メソッド |
|---|
パラメーター
| 完了 | iOSデバイスをZoho Creator APNsサーバーから登録解除する際に実行される完了ブロック |
|---|
パラメーター
| notificationInfo | UNUserNotificationCenterDelegate内で受け取ったuserInfoオブジェクトです |
|---|
日本語への翻訳:
パラメーター
| notificationInfo | UNUserNotificationCenterDelegateで受け取ったuserInfoオブジェクトです。 |
|---|---|
| ZCNotification | 生のノーティフィケーションデータを含んでいます。 |