public interface VideoSourceDescriptor
| Modifier and Type | Method | Description |
|---|---|---|
VideoSourceDescriptor |
clone() |
Instantiate a new video source descriptor with values from source.
|
Call |
getCall() |
Gets the call of a
VideoSourceDescriptor. |
java.lang.String |
getCameraId() |
Gets the camera id of a
VideoSourceDescriptor. |
java.lang.String |
getImage() |
Gets the image path of a
VideoSourceDescriptor. |
long |
getNativePointer() |
Gets the native pointer used by this class to make native method calls.
|
VideoSourceType |
getType() |
Gets the type of a
VideoSourceDescriptor. |
java.lang.Object |
getUserData() |
Gets the object stored in this object user's data
|
void |
setCall(Call call) |
Sets the source of a
VideoSourceDescriptor with a call. |
void |
setCameraId(java.lang.String cameraId) |
Sets the source of a
VideoSourceDescriptor with a camera id. |
void |
setImage(java.lang.String imagePath) |
Sets the source of a
VideoSourceDescriptor with an image path. |
void |
setUserData(java.lang.Object data) |
Sets the object to store in this object user's data
|
java.lang.String |
toString() |
@Nullable Call getCall()
Call of the video source descriptor if it's type isvoid setCall(@Nullable
Call call)
VideoSourceDescriptor with a call. VideoSourceDescriptor with a call will require the lib toCore.setMediaResourceMode(org.linphone.core.MediaResourceMode)call - The Call that will be used as a video source. @Nullable java.lang.String getCameraId()
void setCameraId(@Nullable
java.lang.String cameraId)
cameraId - The camera id that will be used as a video source. @Nullable java.lang.String getImage()
void setImage(@Nullable
java.lang.String imagePath)
imagePath - The image path that will be used as a video source. VideoSourceType getType()
VideoSourceType corresponding to this video source@NonNull VideoSourceDescriptor clone()
VideoSourceDescriptor object. void setUserData(java.lang.Object data)
data - the object to storejava.lang.Object getUserData()
long getNativePointer()
java.lang.String toString()
toString in class java.lang.Object