Freigeben über


TvInputService.Session.OnRequestAd(AdRequest) Method

Definition

Called when advertisement request is received.

[Android.Runtime.Register("onRequestAd", "(Landroid/media/tv/AdRequest;)V", "GetOnRequestAd_Landroid_media_tv_AdRequest_Handler", ApiSince=33)]
public virtual void OnRequestAd (Android.Media.TV.AdRequest request);
[<Android.Runtime.Register("onRequestAd", "(Landroid/media/tv/AdRequest;)V", "GetOnRequestAd_Landroid_media_tv_AdRequest_Handler", ApiSince=33)>]
abstract member OnRequestAd : Android.Media.TV.AdRequest -> unit
override this.OnRequestAd : Android.Media.TV.AdRequest -> unit

Parameters

request
AdRequest

advertisement request received

Attributes

Remarks

Called when advertisement request is received.

Java documentation for android.media.tv.TvInputService.Session.onRequestAd(android.media.tv.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