TvView.OverrideTvAppAttributionSource(AttributionSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.