xg.glass SDK
Toggle table of contents
0.3.0
common
Target filter
common
Switch theme
Search in API
Skip to content
xg.glass SDK
xgglass-core
/
com.xgglass.core
/
VideoFrame
Video
Frame
data
class
VideoFrame
(
val
bytes
:
ByteArray
,
val
format
:
VideoFormat
,
val
sequence
:
Long
,
val
timestampMs
:
Long
=
nowMillis()
,
val
rotationDegrees
:
Int
?
=
null
,
val
endOfStream
:
Boolean
=
false
)
Members
Constructors
Video
Frame
Link copied to clipboard
constructor
(
bytes
:
ByteArray
,
format
:
VideoFormat
,
sequence
:
Long
,
timestampMs
:
Long
=
nowMillis()
,
rotationDegrees
:
Int
?
=
null
,
endOfStream
:
Boolean
=
false
)
Properties
bytes
Link copied to clipboard
val
bytes
:
ByteArray
end
Of
Stream
Link copied to clipboard
val
endOfStream
:
Boolean
format
Link copied to clipboard
val
format
:
VideoFormat
rotation
Degrees
Link copied to clipboard
val
rotationDegrees
:
Int
?
sequence
Link copied to clipboard
val
sequence
:
Long
timestamp
Ms
Link copied to clipboard
val
timestampMs
:
Long
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int