StoreSubscription
public enum StoreSubscription
Stores a POI subscription
Stores a POI subscription to send a push notification to the device with the specified `pushToken` once one of the pois change based on the change condition. The notification contains (max 4kb)
{
"target": "..."
"subscription": "706087b4-8bca-4db9-b037-8a7ff4ce5633",
"poi": {
"id": "4d6dd9db-b0ac-40e8-a099-b606cace6f72", # poi ID
"type": "gasStation",
"attributes": {
# ... more data of the type
}
}
}
-
Undocumented
Declaration
Swift
public static var service: POIAPIService<POIAPI.Subscriptions.StoreSubscription.Response>
-
Undocumented
See moreDeclaration
Swift
public final class Request : POIAPIRequest<Response>
-
Undocumented
See moreDeclaration
Swift
public enum Response : APIResponseValue, CustomStringConvertible, CustomDebugStringConvertible