Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
</Parameters>
<Docs>
<param name="javaReference">A JNI reference to the Java object.</param>
<param name="transfer">Specifies whether ownership of the JNI reference transfers to this instance.</param>
<param name="transfer">Specifies how to handle the incoming JNI reference and whether to register the managed peer.</param>
<summary>Creates a managed instance that represents an existing Java object.</summary>
<remarks>
<para>The runtime calls this constructor to create a managed representation of an existing Java object.</para>
Expand Down
4 changes: 2 additions & 2 deletions docs/xml/Android.Media.TV.Ads/TvAdService+Session.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
</Parameters>
<Docs>
<param name="javaReference">A JNI reference to the Java object.</param>
<param name="transfer">Specifies whether ownership of the JNI reference transfers to this instance.</param>
<param name="transfer">Specifies how to handle the incoming JNI reference and whether to register the managed peer.</param>
<summary>Creates a managed instance that represents an existing Java object.</summary>
<remarks>
<para>The runtime calls this constructor to create a managed representation of an existing Java object.</para>
Expand Down Expand Up @@ -762,7 +762,7 @@
<Docs>
<param name="keyCode">The value in event.getKeyCode().</param>
<param name="count">Number of pairs as returned by event.getRepeatCount().</param>
<param name="e">The repeated key event received by the session. This value can be <see langword="null" />.</param>
<param name="e">The multiple-action key event received by the session. This value can be <see langword="null" />.</param>
<summary>Called when a user's interaction with an analog control, such as flinging a trackball, generates simulated down/up events for the same key multiple times in quick succession.</summary>
<returns>If you handled the event, return true. If you want to allow the event to be handled by the next receiver, return false.</returns>
<remarks>
Expand Down
2 changes: 1 addition & 1 deletion docs/xml/Android.Media.TV.Ads/TvAdService.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</Parameters>
<Docs>
<param name="javaReference">A JNI reference to the Java object.</param>
<param name="transfer">Specifies whether ownership of the JNI reference transfers to this instance.</param>
<param name="transfer">Specifies how to handle the incoming JNI reference and whether to register the managed peer.</param>
<summary>Creates a managed instance that represents an existing Java object.</summary>
<remarks>
<para>The runtime calls this constructor to create a managed representation of an existing Java object.</para>
Expand Down
2 changes: 1 addition & 1 deletion docs/xml/Android.Media.TV.Ads/TvAdServiceInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
<Parameters />
<Docs>
<summary>Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.</summary>
<returns>a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or CONTENTS_FILE_DESCRIPTOR</returns>
<returns><c>0</c>. This implementation does not report special object types.</returns>
<remarks>
<para>Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output of writeToParcel(Parcel,int), the return value of this method must include the CONTENTS_FILE_DESCRIPTOR bit.</para>
<para><format type="text/html"><a href="https://developer.android.com/reference/android/media/tv/ad/TvAdServiceInfo#describeContents()" title="Reference documentation">Android reference for <code>android.media.tv.ad.TvAdServiceInfo.describeContents</code>.</a></format></para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
<Parameter Name="e" Type="Android.Views.InputEvent" />
</Parameters>
<Docs>
<param name="e">The input event that the TV advertisement service did not handle.</param>
<param name="e">The input event passed to the listener.</param>
<param name="event">The input event.</param>
<summary>Called when an input event was not handled by the TV AD service.</summary>
<returns>If you handled the event, return <c>true</c>. If you want to allow the event to
Expand Down
2 changes: 1 addition & 1 deletion docs/xml/Android.Media.TV.Ads/TvAdView+TvAdCallback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
</Parameters>
<Docs>
<param name="javaReference">A JNI reference to the Java object.</param>
<param name="transfer">Specifies whether ownership of the JNI reference transfers to this instance.</param>
<param name="transfer">Specifies how to handle the incoming JNI reference and whether to register the managed peer.</param>
<summary>Creates a managed instance that represents an existing Java object.</summary>
<remarks>
<para>The runtime calls this constructor to create a managed representation of an existing Java object.</para>
Expand Down
11 changes: 6 additions & 5 deletions docs/xml/Android.Media.TV.Ads/TvAdView.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
</Parameters>
<Docs>
<param name="javaReference">A JNI reference to the Java object.</param>
<param name="transfer">Specifies whether ownership of the JNI reference transfers to this instance.</param>
<param name="transfer">Specifies how to handle the incoming JNI reference and whether to register the managed peer.</param>
<summary>Creates a managed instance that represents an existing Java object.</summary>
<remarks>
<para>The runtime calls this constructor to create a managed representation of an existing Java object.</para>
Expand Down Expand Up @@ -679,6 +679,7 @@
<para>Measure the view and its content to determine the measured width and the measured height. This method is invoked by measure(int, int) and should be overridden by subclasses to provide accurate and efficient measurement of their contents.</para>
<para>CONTRACT: When overriding this method, you must call setMeasuredDimension(int, int) to store the measured width and height of this view. Failure to do so will trigger an IllegalStateException, thrown by measure(int, int). Calling the superclass' onMeasure(int, int) is a valid use.</para>
<para>The base class implementation of measure defaults to the background size, unless a larger size is allowed by the MeasureSpec. Subclasses should override onMeasure(int, int) to provide better measurements of their content.</para>
<para>The preceding default-size description applies to the generic <see cref="T:Android.Views.View" /> implementation. This override measures its child <see cref="T:Android.Views.SurfaceView" /> with <paramref name="widthMeasureSpec" /> and <paramref name="heightMeasureSpec" />, then resolves this view's dimensions from the child's measured size and state.</para>
<para>If this method is overridden, it is the subclass's responsibility to make sure the measured height and width are at least the view's minimum height and width (getSuggestedMinimumHeight() and getSuggestedMinimumWidth()).</para>
<para><format type="text/html"><a href="https://developer.android.com/reference/android/media/tv/ad/TvAdView#onMeasure(int,%20int)" title="Reference documentation">Android reference for <code>android.media.tv.ad.TvAdView.onMeasure</code>.</a></format></para>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
Expand Down Expand Up @@ -712,7 +713,7 @@
<Parameter Name="e" Type="Android.Views.InputEvent" />
</Parameters>
<Docs>
<param name="e">The input event that the registered listener did not handle.</param>
<param name="e">The input event to handle.</param>
<param name="event">The input event.</param>
<summary>Called when an unhandled input event also has not been handled by the user provided
callback.</summary>
Expand Down Expand Up @@ -779,8 +780,8 @@
<ReturnType>Android.Media.TV.Ads.TvAdView+IOnUnhandledInputEventListener</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the OnUnhandledInputEventListener.</summary>
<value>The listener for input events not handled by the TV advertisement service, or <see langword="null" /> if no listener is set or the listener has been cleared.</value>
<summary>Gets or sets the listener for unhandled input events.</summary>
<value>The listener called when unhandled input events are dispatched, or <see langword="null" /> if no listener is set or the listener has been cleared.</value>
<remarks>
<para>Gets the OnUnhandledInputEventListener.</para>
<para>Returns null if the listener is not set or is cleared.</para>
Expand Down Expand Up @@ -1237,7 +1238,7 @@
<Parameter Name="callback" Type="Android.Media.TV.Ads.TvAdView+TvAdCallback" />
</Parameters>
<Docs>
<param name="executor">This value cannot be null. Callback and listener events are dispatched through this Executor, providing an easy way to control which thread is used. To dispatch events through the main thread of your application, you can use Context.getMainExecutor(). Otherwise, provide an Executor that dispatches to an appropriate thread.</param>
<param name="executor">The executor used to dispatch calls to <paramref name="callback" />. This value cannot be <see langword="null" />. To dispatch callbacks on the main thread, use <see cref="P:Android.Content.Context.MainExecutor" />. Otherwise, provide an executor that dispatches to an appropriate thread.</param>
<param name="callback">the callback to receive events. MUST NOT be null.</param>
<summary>Sets the callback to be invoked when an event is dispatched to this TvAdView.</summary>
<remarks>
Expand Down
4 changes: 2 additions & 2 deletions docs/xml/Android.Media.TV.Interactive/AppLinkInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@
<Parameters />
<Docs>
<summary>Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.</summary>
<returns>a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or CONTENTS_FILE_DESCRIPTOR</returns>
<returns><c>0</c>. This implementation does not report special object types.</returns>
<remarks>
<para>Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output of writeToParcel(Parcel,int), the return value of this method must include the CONTENTS_FILE_DESCRIPTOR bit.</para>
<para>In Android 16, this implementation returns <c>0</c>.</para>
<para>This implementation returns <c>0</c>.</para>
<para><format type="text/html"><a href="https://developer.android.com/reference/android/media/tv/interactive/AppLinkInfo#describeContents()" title="Reference documentation">Android reference for <code>android.media.tv.interactive.AppLinkInfo.describeContents</code>.</a></format></para>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<Docs>
<summary>Identifies the TV interactive app types supported by a service.</summary>
<remarks>
<para>This .NET enum represents the <c>INTERACTIVE_APP_TYPE_*</c> constants in <see cref="T:Android.Media.TV.Interactive.TvInteractiveAppServiceInfo" />. The service information exposes supported types as a bit mask and lists custom type names separately.</para>
<para>This .NET enum represents the <c>INTERACTIVE_APP_TYPE_*</c> constants in <see cref="T:Android.Media.TV.Interactive.TvInteractiveAppServiceInfo" />. The service information exposes supported types as a bit mask. Starting with Android 14 (API level 34), it lists custom type names separately.</para>
<para>See the <format type="text/html"><a href="https://developer.android.com/reference/android/media/tv/interactive/TvInteractiveAppServiceInfo#getSupportedTypes()">Android supported app types reference</a></format>.</para>
</remarks>
</Docs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
</Parameters>
<Docs>
<param name="javaReference">A JNI reference to the Java object.</param>
<param name="transfer">Specifies whether ownership of the JNI reference transfers to this instance.</param>
<param name="transfer">Specifies how to handle the incoming JNI reference and whether to register the managed peer.</param>
<summary>Creates a managed instance that represents an existing Java object.</summary>
<remarks>
<para>The runtime calls this constructor to create a managed representation of an existing Java object.</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
</Parameters>
<Docs>
<param name="javaReference">A JNI reference to the Java object.</param>
<param name="transfer">Specifies whether ownership of the JNI reference transfers to this instance.</param>
<param name="transfer">Specifies how to handle the incoming JNI reference and whether to register the managed peer.</param>
<summary>Creates a managed instance that represents an existing Java object.</summary>
<remarks>
<para>The runtime calls this constructor to create a managed representation of an existing Java object.</para>
Expand Down Expand Up @@ -1361,7 +1361,7 @@
<Docs>
<param name="keyCode">The key code reported by <paramref name="e" />.</param>
<param name="count">The number of key-down and key-up pairs reported by the repeat count of <paramref name="e" />.</param>
<param name="e">The event that contains the repeated key presses.</param>
<param name="e">The multiple-action key event received by the session.</param>
<summary>Called when a user's interaction with an analog control, such as flinging a trackball, generates simulated down/up events for the same key multiple times in quick succession.</summary>
<returns>If you handled the event, return true. If you want to allow the event to be handled by the next receiver, return false.</returns>
<remarks>
Expand Down Expand Up @@ -3121,7 +3121,7 @@
<Parameter Name="reason" Type="System.Int32" />
</Parameters>
<Docs>
<param name="reason">Value is one of the following: TvInputManager.VIDEO_UNAVAILABLE_REASON_UNKNOWN; TvInputManager.VIDEO_UNAVAILABLE_REASON_TUNING; TvInputManager.VIDEO_UNAVAILABLE_REASON_WEAK_SIGNAL; TvInputManager.VIDEO_UNAVAILABLE_REASON_BUFFERING; TvInputManager.VIDEO_UNAVAILABLE_REASON_AUDIO_ONLY; TvInputManager.VIDEO_UNAVAILABLE_REASON_NOT_CONNECTED; TvInputManager.VIDEO_UNAVAILABLE_REASON_INSUFFICIENT_RESOURCE; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_INSUFFICIENT_OUTPUT_PROTECTION; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_PVR_RECORDING_NOT_ALLOWED; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_LICENSE_EXPIRED; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_NEED_ACTIVATION; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_NEED_PAIRING; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_NO_CARD; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_CARD_MUTE; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_CARD_INVALID; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_BLACKOUT; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_REBOOTING; TvInputManager.VIDEO_UNAVAILABLE_REASON_CAS_UNKNOWN; TvInputManager.VIDEO_UNAVAILABLE_REASON_STOPPED</param>
<param name="reason">The video-unavailable reason reported by the TV input. Public values are represented by <see cref="T:Android.Media.TV.VideoUnavailableReason" />. The <see cref="F:Android.Media.TV.VideoUnavailableReason.Stopped" /> value is supported starting with Android 16 (API level 36).</param>
<summary>Called when video is unavailable.</summary>
<remarks>
<para>Called when video is unavailable.</para>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
</Parameters>
<Docs>
<param name="javaReference">A JNI reference to the Java object.</param>
<param name="transfer">Specifies whether ownership of the JNI reference transfers to this instance.</param>
<param name="transfer">Specifies how to handle the incoming JNI reference and whether to register the managed peer.</param>
<summary>Creates a managed instance that represents an existing Java object.</summary>
<remarks>
<para>The runtime calls this constructor to create a managed representation of an existing Java object.</para>
Expand Down Expand Up @@ -873,7 +873,7 @@
</Parameters>
<Docs>
<param name="iAppServiceId">The ID of the TV Interactive App associated with the session. This value cannot be null.</param>
<param name="type">The type of the TV Interactive App associated with the session. Value is one of the following: TvInteractiveAppServiceInfo.INTERACTIVE_APP_TYPE_HBBTV; TvInteractiveAppServiceInfo.INTERACTIVE_APP_TYPE_ATSC; TvInteractiveAppServiceInfo.INTERACTIVE_APP_TYPE_GINGA; TvInteractiveAppServiceInfo.INTERACTIVE_APP_TYPE_TARGETED_AD; TvInteractiveAppServiceInfo.INTERACTIVE_APP_TYPE_OTHER</param>
<param name="type">The type of the TV Interactive App associated with the session. Value is one of the following: TvInteractiveAppServiceInfo.INTERACTIVE_APP_TYPE_HBBTV; TvInteractiveAppServiceInfo.INTERACTIVE_APP_TYPE_ATSC; TvInteractiveAppServiceInfo.INTERACTIVE_APP_TYPE_GINGA; TvInteractiveAppServiceInfo.INTERACTIVE_APP_TYPE_TARGETED_AD; TvInteractiveAppServiceInfo.INTERACTIVE_APP_TYPE_OTHER. The targeted ad and other types are available starting with Android 14 (API level 34).</param>
<summary>Returns a concrete implementation of Session.</summary>
<returns>The new session, or <see langword="null" /> if the service cannot create it.</returns>
<remarks>
Expand Down
Loading