public class ScreencastStreamConfig extends Object
ScreencastStreamConfig is used in StreamManager.prepare(ScreencastStreamConfig) for screencast. You should use
 ScreencastStreamConfig.Builder to build ScreencastStreamConfig.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ScreencastStreamConfig.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getDensityDpi()
Gets the density of the virtual display in dpi. 
 | 
MediaProjection | 
getMediaProjection()
Gets mediaProjection for screencast. 
 | 
int | 
getOutputHeight()
Gets output video height. 
 | 
int | 
getOutputWidth()
Gets output video width. 
 | 
public MediaProjection getMediaProjection()
ScreencastStreamConfig.Builder.mediaProjection(MediaProjection)public int getOutputWidth()
ScreencastStreamConfig.Builder.videoResolution(int, int)public int getOutputHeight()
ScreencastStreamConfig.Builder.videoResolution(int, int)public int getDensityDpi()
ScreencastStreamConfig.Builder.densityDpi(int)