public static interface AVTubeManager.TubeObserver
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onTubeDelete(AVTubeManager tubeManager,
AVTube tube) |
Called when an
AVTube instance is deleted from this AVTubeManager. |
void |
onTubeEnterWorkingState(AVTubeManager tubeManager,
AVTube tube,
int usageScenes) |
Called when a media tube enters the working state.
|
void |
onTubeExitWorkingState(AVTubeManager tubeManager,
AVTube tube,
int usageScenes) |
Called when a media tube exits the working state.
|
void |
onTubeInsert(AVTubeManager tubeManager,
AVTube tube) |
Called when a new
AVTube instance is added to this AVTubeManager. |
void |
onTubeUpdate(AVTubeManager tubeManager,
AVTube tube) |
Called when an attribute of a specified
AVTube instance is changed. |
void onTubeEnterWorkingState(AVTubeManager tubeManager, AVTube tube, int usageScenes)
This callback is invoked after the AVTubeManager#useTube(AVTube, int) method is called and the
specified AVTube instance enters the working state.
tubeManager - Indicates this AVTubeManager.tube - Indicates the AVTube instance in use.usageScenes - Indicates the scenes for which the AVTube instance is used.AVTubeManager.useTube(AVTube, int)void onTubeExitWorkingState(AVTubeManager tubeManager, AVTube tube, int usageScenes)
This callback is invoked after the AVTubeManager#useTube(AVTube, int) method is called and the
specified AVTube instance exits the working state.
tubeManager - Indicates this AVTubeManager.tube - Indicates the AVTube instance that exits the working state.usageScenes - Indicates the scenes for which the AVTube instance is used.AVTubeManager.useTube(AVTube, int)void onTubeInsert(AVTubeManager tubeManager, AVTube tube)
AVTube instance is added to this AVTubeManager.
This callback is invoked after the AVTubeManager#insertAVTubeEx(AVTubeEx) method is called.
tubeManager - Indicates this AVTubeManager.tube - Indicates the added AVTube instance.AVTubeManager.insertAVTubeEx(AVTubeEx)void onTubeDelete(AVTubeManager tubeManager, AVTube tube)
AVTube instance is deleted from this AVTubeManager.
This callback is invoked after the AVTubeManager#deleteAVTubeEx(AVTubeEx) method is called.
tubeManager - Indicates this AVTubeManager.tube - Indicates the deleted AVTube instance.AVTubeManager.deleteAVTubeEx(AVTubeEx)void onTubeUpdate(AVTubeManager tubeManager, AVTube tube)
AVTube instance is changed.
This callback is invoked after a media tube attribute, such as the name, label, or description, is set.
tubeManager - Indicates this AVTubeManager.tube - Indicates the AVTube instance whose attribute is changed.AVTube.setLabel(Object),
AVTubeEx.setTubeName(int),
AVTubeEx.setTubeName(String),
AVTubeEx.setDetails(String)