com.google.mlkit.vision.camera

  • Barcode.Sms is a class representing an SMS message extracted from a barcode, like those with "SMS:" prefixes.

  • It provides methods to retrieve the message content (getMessage()) and the phone number (getPhoneNumber()).

  • Both getMessage() and getPhoneNumber() will return null if the respective information isn't found in the barcode.

Annotations

CameraSourceConfig.CameraFacing Direction of the camera facing relative to device screen. 

Interfaces

DetectionTaskCallback<ResultT> Interface for defining a post-processing action to be executed for each detection.This is used by CameraXSource for the pipeline to feed camera frames to detectors and invoke callbacks that are set by developers. 

Classes

CameraSourceConfig Config class to hold different camera source settings. 
CameraSourceConfig.Builder Builder for CameraSourceConfig. 
CameraXSource Manages the camera in conjunction with an underlying Detector and DetectionTaskCallback