Class VideoMBSource


public class VideoMBSource extends MediaMBSource
Wrapper around a JSONObject containing a Mapbox video source.
See Also:
  • Constructor Details

    • VideoMBSource

      public VideoMBSource(JSONObject json)
    • VideoMBSource

      public VideoMBSource(JSONObject json, MBObjectParser parser)
  • Method Details

    • getUrls

      public List<String> getUrls()
      (Required) URLs to video content in order of preferred format.
      Returns:
      List of String urls
    • getType

      public String getType()
      Description copied from class: MBSource
      Type of source.
      Specified by:
      getType in class MBSource
      Returns:
      One of "vector", "raster", "geojson", "image", "video", "canvas".