TvView.Tune Method

Definition

Overloads

Tune(String, Uri)

Tunes to a given channel.

Tune(String, Uri, Bundle)

Tunes to a given channel.

Tune(String, Uri)

Tunes to a given channel.

[Android.Runtime.Register("tune", "(Ljava/lang/String;Landroid/net/Uri;)V", "GetTune_Ljava_lang_String_Landroid_net_Uri_Handler")]
public virtual void Tune (string inputId, Android.Net.Uri? channelUri);
[<Android.Runtime.Register("tune", "(Ljava/lang/String;Landroid/net/Uri;)V", "GetTune_Ljava_lang_String_Landroid_net_Uri_Handler")>]
abstract member Tune : string * Android.Net.Uri -> unit
override this.Tune : string * Android.Net.Uri -> unit

Parameters

inputId
String

The ID of the TV input for the given channel.

channelUri
Uri

The URI of a channel.

Attributes

Remarks

Tunes to a given channel.

Java documentation for android.media.tv.TvView.tune(java.lang.String, android.net.Uri).

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

Tune(String, Uri, Bundle)

Tunes to a given channel.

[Android.Runtime.Register("tune", "(Ljava/lang/String;Landroid/net/Uri;Landroid/os/Bundle;)V", "GetTune_Ljava_lang_String_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=24)]
public virtual void Tune (string? inputId, Android.Net.Uri? channelUri, Android.OS.Bundle? params);
[<Android.Runtime.Register("tune", "(Ljava/lang/String;Landroid/net/Uri;Landroid/os/Bundle;)V", "GetTune_Ljava_lang_String_Landroid_net_Uri_Landroid_os_Bundle_Handler", ApiSince=24)>]
abstract member Tune : string * Android.Net.Uri * Android.OS.Bundle -> unit
override this.Tune : string * Android.Net.Uri * Android.OS.Bundle -> unit

Parameters

inputId
String

The ID of TV input for the given channel.

channelUri
Uri

The URI of a channel.

params
Bundle

Domain-specific data for this tune request. Keys <em>must</em> be a scoped name, i.e. prefixed with a package name you own, so that different developers will not create conflicting keys.

Attributes

Remarks

Tunes to a given channel. This can be used to provide domain-specific features that are only known between certain clients and their TV inputs.

Java documentation for android.media.tv.TvView.tune(java.lang.String, android.net.Uri, android.os.Bundle).

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