Class DashDescriptor

java.lang.Object
com.castlabs.android.player.DashDescriptor

public class DashDescriptor extends Object
A Dash descriptor.
Since:
4.0.5
  • Field Details

    • ROLE

      public static final int ROLE
      Role descriptor.
      See Also:
    • ESSENTIAL_PROPERTY

      public static final int ESSENTIAL_PROPERTY
      Essential property descriptor.
      See Also:
    • SUPPLEMENTAL_PROPERTY

      public static final int SUPPLEMENTAL_PROPERTY
      Supplemental property descriptor.
      See Also:
    • ACCESSIBILITY

      public static final int ACCESSIBILITY
      Accessibility descriptor.
      See Also:
    • VIEWPOINT

      public static final int VIEWPOINT
      Viewpoint descriptor.
      See Also:
    • RATING

      public static final int RATING
      Rating descriptor.
      See Also:
    • INBAND_EVENT_STREAM

      public static final int INBAND_EVENT_STREAM
      Inband event stream descriptor.
      See Also:
    • ASSET_IDENTIFIER

      public static final int ASSET_IDENTIFIER
      Asset identifier descriptor.
      See Also:
  • Constructor Details

    • DashDescriptor

      public DashDescriptor(int type, @NonNull String schemeIdUri, @Nullable String value, @Nullable String id)
      Creates a new DashDescriptor instance.
      Parameters:
      type - type of the descriptor
      schemeIdUri - scheme id, or "key"
      value - value, can be null
      id - id, can be null
  • Method Details

    • getSchemeIdUri

      @NonNull public String getSchemeIdUri()
      Gets the scheme ID URI of the descriptor.
      Returns:
      The scheme ID URI.
    • getValue

      @Nullable public String getValue()
      Gets the value of the descriptor.
      Returns:
      The value, or null if not present.
    • getId

      @Nullable public String getId()
      Gets the ID of the descriptor.
      Returns:
      The ID, or null if not present.
    • getType

      public int getType()
      Gets the type of the descriptor.
      Returns:
      The type of the descriptor.