toggle menu
Brightcove Player SDK for Android 10.1.2
10.1.2
sdk
switch theme
search in API
sdk
/
com.brightcove.player.view
/
BrightcoveTextureView
Brightcove
Texture
View
open
class
BrightcoveTextureView
:
RenderView
Members
Constructors
Brightcove
Texture
View
Link copied to clipboard
constructor
(
context
:
Context
)
Properties
measured
Video
Height
Link copied to clipboard
open
val
measuredVideoHeight
:
Int
measured
Video
Width
Link copied to clipboard
open
val
measuredVideoWidth
:
Int
projection
Format
Link copied to clipboard
open
var
projectionFormat
:
Video.ProjectionFormat
surface
Link copied to clipboard
open
var
surface
:
Surface
video
Height
Link copied to clipboard
open
val
videoHeight
:
Int
video
Width
Link copied to clipboard
open
val
videoWidth
:
Int
Functions
get
Context
Link copied to clipboard
abstract
fun
getContext
(
)
:
Context
get
Height
Link copied to clipboard
abstract
fun
getHeight
(
)
:
Int
get
Holder
Link copied to clipboard
open
fun
getHolder
(
)
:
SurfaceHolder
get
Layout
Params
Link copied to clipboard
abstract
fun
getLayoutParams
(
)
:
LayoutParams
get
Measured
Height
Link copied to clipboard
abstract
fun
getMeasuredHeight
(
)
:
Int
get
Parent
Link copied to clipboard
abstract
fun
getParent
(
)
:
ViewParent
get
Visibility
Link copied to clipboard
abstract
fun
getVisibility
(
)
:
Int
get
Width
Link copied to clipboard
abstract
fun
getWidth
(
)
:
Int
invalidate
Link copied to clipboard
abstract
fun
invalidate
(
)
is
Shown
Link copied to clipboard
abstract
fun
isShown
(
)
:
Boolean
is
Vr
Mode
Link copied to clipboard
open
fun
isVrMode
(
)
:
Boolean
Checks whether the surface is currently configured to render the video in Google VR mode.
on
Frame
Available
Link copied to clipboard
open
fun
onFrameAvailable
(
surfaceTexture
:
SurfaceTexture
)
release
Link copied to clipboard
open
fun
release
(
)
set
Layout
Params
Link copied to clipboard
abstract
fun
setLayoutParams
(
layoutParams
:
LayoutParams
)
set
On
Frame
Available
Listener
Link copied to clipboard
open
fun
setOnFrameAvailableListener
(
onFrameAvailableListener
:
OnFrameAvailableListener
)
set
Video
Size
Link copied to clipboard
open
fun
setVideoSize
(
videoWidth
:
Int
,
videoHeight
:
Int
)
set
Visibility
Link copied to clipboard
abstract
fun
setVisibility
(
visibility
:
Int
)
set
Vr
Mode
Link copied to clipboard
open
fun
setVrMode
(
vrMode
:
Boolean
)
Sets whether the surface should render the video in Google VR mode.
zoom
In
Link copied to clipboard
open
fun
zoomIn
(
)
Updates the surface to apply a zoom in effect.
zoom
Out
Link copied to clipboard
open
fun
zoomOut
(
)
Updates the surface to apply a zoom out effect.