Class TagStream

java.lang.Object
com.arubanetworks.meridian.tags.TagStream

public class TagStream extends Object
Provides a stream of assets tag updates.

Use the listener to get the tag updates and the subscriptions to limit which tags are reported.

  • Method Details

    • getAllAssetsAsync

      public static void getAllAssetsAsync(EditorKey appKey, EditorKey mapKey, MeridianRequest.Listener<List<TagBeacon>> listener, MeridianRequest.ErrorListener errorListener)
      Retrieves all of the previously observed asset tags asynchronously.

      This can be specified for a location (mapKey = null) or a map (appKey can be null). To track asset tag position changes, use the streaming API via the builder.

      Parameters:
      appKey - location to get the tags for
      mapKey - map to get the tags for
      listener - listener to receive the tags
      errorListener - listener called if an error occurs
    • startUpdatingTags

      public void startUpdatingTags()
      Called to initialize the connection to the tag tracking service and start streaming updates
    • stopUpdatingTags

      public void stopUpdatingTags()
      Called to close the connection to the asset tracking service and stop streaming updates
    • dispose

      public void dispose()
      Called to clean up memory