# LocalModel

public class **LocalModel** extends [Object](https://developer.android.com/reference/java/lang/Object.html)  
Describes a local model created from absolute file path, asset file path or URI.

Defines the model's location (absolute file path in local directory, subpath in the app's
asset directory, or URI representing a single file).

### Nested Class Summary

|---|---|---|---|
| class | [LocalModel.Builder](https://developers.google.com/android/reference/com/google/mlkit/common/model/LocalModel.Builder) || Builder class of `https://developers.google.com/android/reference/com/google/mlkit/common/model/LocalModel`. |

### Public Method Summary

|---|---|
| boolean | [equals](https://developers.google.com/android/reference/com/google/mlkit/common/model/LocalModel#equals(java.lang.Object))([Object](https://developer.android.com/reference/java/lang/Object.html) o) Indicates whether some other object is "equal to" this one. |
| int | [hashCode](https://developers.google.com/android/reference/com/google/mlkit/common/model/LocalModel#hashCode())() Returns a hash code value for the object. |
| [String](https://developer.android.com/reference/java/lang/String.html) | [toString](https://developers.google.com/android/reference/com/google/mlkit/common/model/LocalModel#toString())() |

### 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 boolean **equals** ([Object](https://developer.android.com/reference/java/lang/Object.html) o)

Indicates whether some other object is "equal to" this one.

#### public int **hashCode** ()

Returns a hash code value for the object.

#### public [String](https://developer.android.com/reference/java/lang/String.html) **toString** ()