Castify SDK
2.0.2
Castify SDK
/
jp.castify.api
/
VideoSource
/
Camera
Camera
data
class
Camera
(
val
cameraId
:
Int
,
val
resolution
:
Size
=
Size(640, 360)
,
val
rotation
:
Int
=
Surface.ROTATION_0
)
:
VideoSource
カメラから入力される映像に対応した
VideoSource
です。
Types
Constructors
Functions
Properties
Constructors
Camera
Link copied to clipboard
fun
Camera
(
cameraId
:
Int
,
resolution
:
Size
=
Size(640, 360)
,
rotation
:
Int
=
Surface.ROTATION_0
)
Types
Companion
Link copied to clipboard
object
Companion
Facing
Link copied to clipboard
enum
Facing
:
Enum
<
VideoSource.Camera.Facing
>
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Properties
camera
Id
Link copied to clipboard
val
cameraId
:
Int
利用するカメラを指定します。
resolution
Link copied to clipboard
val
resolution
:
Size
カメラから入力される映像の解像度を指定します。
rotation
Link copied to clipboard
val
rotation
:
Int
カメラから入力される映像の方向です。