Class VMAPInfo

  • All Implemented Interfaces:
    com.longtailvideo.jwplayer.utils.Jsonable

    public class VMAPInfo
    extends java.lang.Object
    implements com.longtailvideo.jwplayer.utils.Jsonable
    Information about a VMAP Ad Break.
    • Constructor Summary

      Constructors 
      Constructor Description
      VMAPInfo​(java.lang.String id, java.lang.Integer item, java.lang.String breakId, java.lang.String timeOffset)  
    • Constructor Detail

      • VMAPInfo

        public VMAPInfo​(java.lang.String id,
                        java.lang.Integer item,
                        java.lang.String breakId,
                        java.lang.String timeOffset)
    • Method Detail

      • getId

        @Nullable
        public java.lang.String getId()
      • getItem

        @Nullable
        public java.lang.Integer getItem()
      • getBreakId

        @Nullable
        public java.lang.String getBreakId()
      • getTimeOffset

        @Nullable
        public java.lang.String getTimeOffset()
      • parseJson

        public static VMAPInfo parseJson​(org.json.JSONObject json)
                                  throws org.json.JSONException
        Throws:
        org.json.JSONException
      • parseJson

        public static VMAPInfo parseJson​(java.lang.String json)
                                  throws org.json.JSONException
        Throws:
        org.json.JSONException
      • toJson

        public org.json.JSONObject toJson()
        Specified by:
        toJson in interface com.longtailvideo.jwplayer.utils.Jsonable