public class

SnapshotConfig

extends Object
java.lang.Object
   ↳ com.tencent.navix.api.config.SnapshotConfig

Summary

Nested Classes
enum SnapshotConfig.BitmapCornerShape  
class SnapshotConfig.Builder  
enum SnapshotConfig.OutputType  
enum SnapshotConfig.PixelQuality  
interface SnapshotConfig.SnapshotCallback  
class SnapshotConfig.SnapshotResult  
Public Methods
int getCompressQuality()
获取截图压缩质量[0-100]
SnapshotConfig.BitmapCornerShape getCornerShape()
获取截图角形状
Bitmap.CompressFormat getFormat()
获取截图格式
int getHeight()
获取截图高度(pixel)
int getInterval()
获取截图间隔,单位毫秒
SnapshotConfig.OutputType getOutputType()
获取截图输出类型
SnapshotConfig.PixelQuality getPixelQuality()
获取截图像素质量
int getWidth()
获取截图宽度(pixel)
static SnapshotConfig.Builder newBuilder(SnapshotConfig config)
static SnapshotConfig.Builder newBuilder()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public int getCompressQuality ()

获取截图压缩质量[0-100]

public SnapshotConfig.BitmapCornerShape getCornerShape ()

获取截图角形状

public Bitmap.CompressFormat getFormat ()

获取截图格式

public int getHeight ()

获取截图高度(pixel)

public int getInterval ()

获取截图间隔,单位毫秒

public SnapshotConfig.OutputType getOutputType ()

获取截图输出类型

Returns
  • 输出类型

public SnapshotConfig.PixelQuality getPixelQuality ()

获取截图像素质量

Returns
  • 像素质量

public int getWidth ()

获取截图宽度(pixel)

public static SnapshotConfig.Builder newBuilder (SnapshotConfig config)

public static SnapshotConfig.Builder newBuilder ()