Megosztás a következőn keresztül:


VideoView.SetVideoURI Method

Definition

Overloads

SetVideoURI(Uri)

Sets video URI.

SetVideoURI(Uri, IDictionary<String,String>)

Sets video URI using specific headers.

SetVideoURI(Uri)

Sets video URI.

[Android.Runtime.Register("setVideoURI", "(Landroid/net/Uri;)V", "GetSetVideoURI_Landroid_net_Uri_Handler")]
public virtual void SetVideoURI (Android.Net.Uri? uri);
[<Android.Runtime.Register("setVideoURI", "(Landroid/net/Uri;)V", "GetSetVideoURI_Landroid_net_Uri_Handler")>]
abstract member SetVideoURI : Android.Net.Uri -> unit
override this.SetVideoURI : Android.Net.Uri -> unit

Parameters

uri
Uri

the URI of the video.

Attributes

Remarks

Sets video URI.

Java documentation for android.widget.VideoView.setVideoURI(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

SetVideoURI(Uri, IDictionary<String,String>)

Sets video URI using specific headers.

[Android.Runtime.Register("setVideoURI", "(Landroid/net/Uri;Ljava/util/Map;)V", "GetSetVideoURI_Landroid_net_Uri_Ljava_util_Map_Handler")]
public virtual void SetVideoURI (Android.Net.Uri? uri, System.Collections.Generic.IDictionary<string,string>? headers);
[<Android.Runtime.Register("setVideoURI", "(Landroid/net/Uri;Ljava/util/Map;)V", "GetSetVideoURI_Landroid_net_Uri_Ljava_util_Map_Handler")>]
abstract member SetVideoURI : Android.Net.Uri * System.Collections.Generic.IDictionary<string, string> -> unit
override this.SetVideoURI : Android.Net.Uri * System.Collections.Generic.IDictionary<string, string> -> unit

Parameters

uri
Uri

the URI of the video.

headers
IDictionary<String,String>

the headers for the URI request. Note that the cross domain redirection is allowed by default, but that can be changed with key/value pairs through the headers parameter with "android-allow-cross-domain-redirect" as the key and "0" or "1" as the value to disallow or allow cross domain redirection.

Attributes

Remarks

Sets video URI using specific headers.

Java documentation for android.widget.VideoView.setVideoURI(android.net.Uri, java.util.Map<java.lang.String, java.lang.String>).

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