Subscriptions

public enum Subscriptions

Undocumented

  • Deletes a previously created POI subscription

    See more

    Declaration

    Swift

    public enum DeleteSubscription
  • Get the list of POI subscriptions for the user or device

    Returns a list of all current (not expired) subscriptions of the user.

    See more

    Declaration

    Swift

    public enum GetSubscriptions
  • 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
        }
      }
    }
    
    See more

    Declaration

    Swift

    public enum StoreSubscription