Language

AdResponse(Int32, Int32, Int64) Constructor

Definition

Creates an advertisement response with the supplied identifier, response type, and elapsed time.

[Android.Runtime.Register(".ctor", "(IIJ)V", "", ApiSince=33)]
public AdResponse(int id, int responseType, long elapsedTime);
[<Android.Runtime.Register(".ctor", "(IIJ)V", "", ApiSince=33)>]
new Android.Media.TV.AdResponse : int * int * int64 -> Android.Media.TV.AdResponse

Parameters

id
Int32

The identifier stored in the response.

responseType
Int32

Value is one of the following: RESPONSE_TYPE_PLAYING; RESPONSE_TYPE_FINISHED; RESPONSE_TYPE_STOPPED; RESPONSE_TYPE_ERROR; RESPONSE_TYPE_BUFFERING

elapsedTime
Int64

The elapsed time, in milliseconds, to store.

Attributes

Remarks

Android reference for android.media.tv.AdResponse.AdResponse.

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