VideoView

constructor(context: Context)

Creates a new VideoView with the given context.

Parameters

context

the Android Context


constructor(context: Context, attrs: AttributeSet)

Creates a new VideoView with the given context and attribute set. Used when inflating from XML layouts.

Parameters

context

the Android Context

attrs

the attribute set from the XML layout