Share via


TvView.OverrideTvAppAttributionSource(AttributionSource) Method

Definition

Override default attribution source of TV App.

[Android.Runtime.Register("overrideTvAppAttributionSource", "(Landroid/content/AttributionSource;)V", "GetOverrideTvAppAttributionSource_Landroid_content_AttributionSource_Handler", ApiSince=34)]
public virtual void OverrideTvAppAttributionSource (Android.Content.AttributionSource tvAppAttributionSource);
[<Android.Runtime.Register("overrideTvAppAttributionSource", "(Landroid/content/AttributionSource;)V", "GetOverrideTvAppAttributionSource_Landroid_content_AttributionSource_Handler", ApiSince=34)>]
abstract member OverrideTvAppAttributionSource : Android.Content.AttributionSource -> unit
override this.OverrideTvAppAttributionSource : Android.Content.AttributionSource -> unit

Parameters

tvAppAttributionSource
AttributionSource

The attribution source of the TV App.

Attributes

Remarks

Override default attribution source of TV App.

An attribution source of TV App is used to attribute work to TV Input Service. The default attribution source is created by Context#getAttributionSource(). Call this method before calling #tune(String, Uri, Bundle) or #timeShiftPlay(String, Uri) to override the default attribution source.

Java documentation for android.media.tv.TvView.overrideTvAppAttributionSource(android.content.AttributionSource).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to