Sprache

StreamEventRequest(Int32, Int32, Uri, String) Constructor

Definition

Creates a stream-event request with the supplied target URI and event name.

[Android.Runtime.Register(".ctor", "(IILandroid/net/Uri;Ljava/lang/String;)V", "", ApiSince=33)]
public StreamEventRequest(int requestId, int option, Android.Net.Uri targetUri, string eventName);
[<Android.Runtime.Register(".ctor", "(IILandroid/net/Uri;Ljava/lang/String;)V", "", ApiSince=33)>]
new Android.Media.TV.StreamEventRequest : int * int * Android.Net.Uri * string -> Android.Media.TV.StreamEventRequest

Parameters

requestId
Int32

The identifier passed to the broadcast request.

option
Int32

Value is one of the following: BroadcastInfoRequest.REQUEST_OPTION_REPEAT; BroadcastInfoRequest.REQUEST_OPTION_AUTO_UPDATE; BroadcastInfoRequest.REQUEST_OPTION_ONEWAY; BroadcastInfoRequest.REQUEST_OPTION_ONESHOT

targetUri
Uri

The target URI stored in the request.

eventName
String

The event name stored in the request.

Attributes

Remarks

Android reference for android.media.tv.StreamEventRequest.StreamEventRequest.

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