public interface AliyunIPipController extends AliyunISteamController
sdk version >= v3.25.0
picture in picture (PIP) instance's controller
you can set all PIP properties with this controller. It contains multiple sub controllers
you must call #apply AliyunISteamController.apply()
to take effect.
AliyunIPipController set PIP stream properties.
|------ AliyunIAudioController set PIP audio properties.
|------ AliyunILayoutController set PIP layout properties.
|------ AliyunIAnimationController set PIP animation properties.
|------ AliyunIAugmentationController set PIP augmentation properties.
Attentions:
1,you must call #apply AliyunISteamController.apply()
to take effect.
Modifier and Type | Method and Description |
---|---|
AliyunIPipTrack |
getOwnerTrack()
get the pip's track
|
RectF |
getPipRectFInCurrentScreen()
get pip view rect on screen
|
AliyunIPipController |
setBorderColor(int value)
set the border's color
|
AliyunIPipController |
setBorderCornerRadius(float value)
set the border's radius in pixel
|
AliyunIPipController |
setBorderWidth(float value)
set the border's width
|
AliyunIPipController |
setClipEndTime(long endTime,
java.util.concurrent.TimeUnit timeUnit)
set clip's duration
|
AliyunIPipController |
setClipStartTime(long startTime,
java.util.concurrent.TimeUnit timeUnit)
set clip's startTime
|
AliyunIPipController |
setHorizontalFlip(boolean flip)
set video horizontal flip or no
|
AliyunIPipController |
setTimelineStartTime(long startTime,
java.util.concurrent.TimeUnit timeUnit)
set startTime at Timeline
|
apply, getAnimationController, getAudioController, getAugmentationController, getClipDurationInMillis, getClipStartTimeInMillis, getHeight, getLayoutController, getPath, getStreamId, getTimeLineEndTimeInMillis, getTimeLineStartTimeInMillis, getWidth
AliyunIPipController setClipStartTime(long startTime, java.util.concurrent.TimeUnit timeUnit)
setClipStartTime
in interface AliyunISteamController
startTime
- timeUnit
- AliyunIPipController setClipEndTime(long endTime, java.util.concurrent.TimeUnit timeUnit)
setClipEndTime
in interface AliyunISteamController
endTime
- timeUnit
- AliyunIPipController setTimelineStartTime(long startTime, java.util.concurrent.TimeUnit timeUnit)
setTimelineStartTime
in interface AliyunISteamController
startTime
- timeUnit
- AliyunIPipController setBorderColor(int value)
setBorderColor
in interface AliyunISteamController
value
- AliyunIPipController setBorderWidth(float value)
setBorderWidth
in interface AliyunISteamController
value
- AliyunIPipController setBorderCornerRadius(float value)
setBorderCornerRadius
in interface AliyunISteamController
value
- AliyunIPipController setHorizontalFlip(boolean flip)
setHorizontalFlip
in interface AliyunISteamController
flip
- flip or noRectF getPipRectFInCurrentScreen()
get pip view rect on screen
AliyunIPipTrack getOwnerTrack()