Language

AdRequest Constructors

Definition

Overloads

AdRequest(Int32, AdRequestType, Uri, Int64, Int64, Int64, Bundle)

[Android.Runtime.Register(".ctor", "(IILandroid/net/Uri;JJJLandroid/os/Bundle;)V", "", ApiSince=34)]
public AdRequest(int id, Android.Media.TV.AdRequestType requestType, Android.Net.Uri? uri, long startTime, long stopTime, long echoInterval, Android.OS.Bundle metadata);
[<Android.Runtime.Register(".ctor", "(IILandroid/net/Uri;JJJLandroid/os/Bundle;)V", "", ApiSince=34)>]
new Android.Media.TV.AdRequest : int * Android.Media.TV.AdRequestType * Android.Net.Uri * int64 * int64 * int64 * Android.OS.Bundle -> Android.Media.TV.AdRequest

Parameters

id
Int32
requestType
AdRequestType

Value is one of the following: REQUEST_TYPE_START; REQUEST_TYPE_STOP

uri
Uri
startTime
Int64
stopTime
Int64
echoInterval
Int64
metadata
Bundle
Attributes

Remarks

Android reference for android.media.tv.AdRequest.AdRequest.

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

AdRequest(Int32, Int32, ParcelFileDescriptor, Int64, Int64, Int64, String, Bundle)

[Android.Runtime.Register(".ctor", "(IILandroid/os/ParcelFileDescriptor;JJJLjava/lang/String;Landroid/os/Bundle;)V", "", ApiSince=33)]
public AdRequest(int id, int requestType, Android.OS.ParcelFileDescriptor? fileDescriptor, long startTime, long stopTime, long echoInterval, string? mediaFileType, Android.OS.Bundle metadata);
[<Android.Runtime.Register(".ctor", "(IILandroid/os/ParcelFileDescriptor;JJJLjava/lang/String;Landroid/os/Bundle;)V", "", ApiSince=33)>]
new Android.Media.TV.AdRequest : int * int * Android.OS.ParcelFileDescriptor * int64 * int64 * int64 * string * Android.OS.Bundle -> Android.Media.TV.AdRequest

Parameters

id
Int32
requestType
Int32

Value is one of the following: REQUEST_TYPE_START; REQUEST_TYPE_STOP

fileDescriptor
ParcelFileDescriptor
startTime
Int64
stopTime
Int64
echoInterval
Int64
mediaFileType
String
metadata
Bundle
Attributes

Remarks

Android reference for android.media.tv.AdRequest.AdRequest.

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