# GmsBarcodeScanning

public final class **GmsBarcodeScanning** extends [Object](https://developer.android.com/reference/java/lang/Object.html)  
Entry point to get a `https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanner`
for opening a code scanner powered by Google Play services.

### Public Method Summary

|---|---|
| static [GmsBarcodeScanner](https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanner) | [getClient](https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanning#getClient(android.content.Context,%20com.google.mlkit.vision.codescanner.GmsBarcodeScannerOptions))([Context](https://developer.android.com/reference/android/content/Context.html) context, [GmsBarcodeScannerOptions](https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScannerOptions) options) Creates a new instance of `https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanner` with the specified options. |
| static [GmsBarcodeScanner](https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanner) | [getClient](https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanning#getClient(android.content.Context))([Context](https://developer.android.com/reference/android/content/Context.html) context) Creates a new instance of `https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanner` with the default options. |

### Inherited Method Summary

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Public Methods

#### public static [GmsBarcodeScanner](https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanner)
**getClient** ([Context](https://developer.android.com/reference/android/content/Context.html) context, [GmsBarcodeScannerOptions](https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScannerOptions) options)

Creates a new instance of `https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanner`
with the specified options.

#### public static [GmsBarcodeScanner](https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanner)
**getClient** ([Context](https://developer.android.com/reference/android/content/Context.html) context)

Creates a new instance of `https://developers.google.com/android/reference/com/google/mlkit/vision/codescanner/GmsBarcodeScanner`
with the default options.