Compartilhar via


AdRequest Constructors

Definition

Overloads

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

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
uri
Uri
startTime
Int64
stopTime
Int64
echoInterval
Int64
metadata
Bundle
Attributes

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
fileDescriptor
ParcelFileDescriptor
startTime
Int64
stopTime
Int64
echoInterval
Int64
mediaFileType
String
metadata
Bundle
Attributes

Applies to