Condividi tramite


TvInputService.Session.OnAdBufferReady(AdBuffer) Method

Definition

Called when an advertisement buffer is ready for playback.

[Android.Runtime.Register("onAdBufferReady", "(Landroid/media/tv/AdBuffer;)V", "GetOnAdBufferReady_Landroid_media_tv_AdBuffer_Handler", ApiSince=34)]
public virtual void OnAdBufferReady (Android.Media.TV.AdBuffer buffer);
[<Android.Runtime.Register("onAdBufferReady", "(Landroid/media/tv/AdBuffer;)V", "GetOnAdBufferReady_Landroid_media_tv_AdBuffer_Handler", ApiSince=34)>]
abstract member OnAdBufferReady : Android.Media.TV.AdBuffer -> unit
override this.OnAdBufferReady : Android.Media.TV.AdBuffer -> unit

Parameters

buffer
AdBuffer

The AdBuffer that became ready for playback.

Attributes

Remarks

Called when an advertisement buffer is ready for playback.

Java documentation for android.media.tv.TvInputService.Session.onAdBufferReady(android.media.tv.AdBuffer).

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