HmsScanFrameOptions

Expand

Class Info

public class HmsScanFrameOptions

Format options for barcode scanning.

Nested Class Summary

Expand

Qualifier and Type

Class Name and Description

static class

HmsScanFrameOptions.Creator

Creator class used for creating HmsScanFrameOptions.

Public Method Summary

Expand

Qualifier and Type

Method Name and Description

int

getType()

Obtains the format of the recognized barcode.

boolean

isMultiMode()

Checks whether the multi-barcode mode is used.

boolean

isParseResult()

Checks whether the barcode scanning result is parsed.

boolean

isPhotoMode()

Checks whether barcode scanning is in image mode.

Public Methods

getType

Expand

Method

public int getType()

Obtains the format of the recognized barcode.

Returns

Expand

Type

Description

int

Format of the recognized barcode.

isMultiMode

Expand

Method

public boolean isMultiMode()

Checks whether the multi-barcode mode is used.

Returns

Expand

Type

Description

boolean

true if the multi-barcode mode is used; false (default) otherwise.

isParseResult

Expand

Method

public boolean isParseResult()

Checks whether the barcode scanning result is parsed.

Returns

Expand

Type

Description

boolean

true if the scanning result is parsed; false (default) otherwise.

isPhotoMode

Expand

Method

public boolean isPhotoMode()

Checks whether barcode scanning is in image mode.

Returns

Expand

Type

Description

boolean

true (default) if barcode scanning is in image mode; false if barcode scanning is in camera mode.