Add an anchor tag for the IMA compat URL in ImaAdsLoader javadoc

The naked URL is not hyperlinked by the javadoc compiler, meaning a user
is forced to awkwardly copy it into the address bar of their browser:
https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/ext/ima/ImaAdsLoader.html

#minor-release

PiperOrigin-RevId: 422320571
This commit is contained in:
ibaker 2022-01-17 11:09:39 +00:00 committed by Ian Baker
parent 919b8d3776
commit 61a0bf3f8c

View File

@ -72,14 +72,15 @@ import java.util.Set;
* #setPlayer(Player)}. If the ads loader is no longer required, it must be released by calling * #setPlayer(Player)}. If the ads loader is no longer required, it must be released by calling
* {@link #release()}. * {@link #release()}.
* *
* <p>See https://developers.google.com/interactive-media-ads/docs/sdks/android/compatibility for * <p>See <a
* information on compatible ad tag formats. Pass the ad tag URI when setting media item playback * href="https://developers.google.com/interactive-media-ads/docs/sdks/android/compatibility">IMA's
* properties (if using the media item API) or as a {@link DataSpec} when constructing the {@link * Support and compatibility page</a> for information on compatible ad tag formats. Pass the ad tag
* AdsMediaSource} (if using media sources directly). For the latter case, please note that this * URI when setting media item playback properties (if using the media item API) or as a {@link
* implementation delegates loading of the data spec to the IMA SDK, so range and headers * DataSpec} when constructing the {@link AdsMediaSource} (if using media sources directly). For the
* specifications will be ignored in ad tag URIs. Literal ads responses can be encoded as data * latter case, please note that this implementation delegates loading of the data spec to the IMA
* scheme data specs, for example, by constructing the data spec using a URI generated via {@link * SDK, so range and headers specifications will be ignored in ad tag URIs. Literal ads responses
* Util#getDataUriForString(String, String)}. * can be encoded as data scheme data specs, for example, by constructing the data spec using a URI
* generated via {@link Util#getDataUriForString(String, String)}.
* *
* <p>The IMA SDK can report obstructions to the ad view for accurate viewability measurement. This * <p>The IMA SDK can report obstructions to the ad view for accurate viewability measurement. This
* means that any overlay views that obstruct the ad overlay but are essential for playback need to * means that any overlay views that obstruct the ad overlay but are essential for playback need to