Interface MediaElement.Builder

  • Method Details

    • mediaId

      MediaElement.Builder mediaId(String mediaId)

      The unique ID for the media.

      Parameters:
      mediaId - The unique ID for the media.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of media.

      Parameters:
      type - The type of media.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of media.

      Parameters:
      type - The type of media.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • url

      The URL of the media.

      Parameters:
      url - The URL of the media.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • caption

      MediaElement.Builder caption(String caption)

      The caption of the media.

      Parameters:
      caption - The caption of the media.
      Returns:
      Returns a reference to this object so that method calls can be chained together.