Skip to main content

Adding entities

It is sometimes important to send extra information to the SDK, without having to send a whole entities message, for non structural information such as :

  • a route itinerary result
  • an itinerary result
  • some POIs

After adding entities, an entities event message will be sent by the SDK

Headers

  • type : ADD_SDK_ENTITIES
  • author : client Id as provided in the ìnitialisation message
  • recipients : SDK Id as provided in the ìnitialisation message
  • status : SENT

payload

  • entityType : entity type (see below)
  • replaceAll : boolean indicating that all previous entities must be deleted
  • entities : list of entities to add to the current ARData

Entities that can be added

Route itinerary results

  • entityType : ROUTELINK

After sending a Route itinerary message. You can add the ArJobData of the Job progress message received; it consists of a jobDataRouteLink

Itinerary results

  • entityType : MCIINDEPENDANTJOB

After sending a Itinerary message. You can add the ArJobData of the Job progress message received; it consists of a jobDataIndependantJob

POIs

  • entityType : POI

send WebviewPOI