CustomRemoteModel
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eCustomRemoteModel\u003c/code\u003e represents a machine learning model stored remotely and downloaded for use on the device.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eRemoteModel\u003c/code\u003e and provides functionality to manage remote models.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eCustomRemoteModel.Builder\u003c/code\u003e class is used for creating instances of \u003ccode\u003eCustomRemoteModel\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes methods for checking equality, generating hash codes, and providing a string representation of the model.\u003c/p\u003e\n"]]],["`CustomRemoteModel` is a class for handling custom models stored remotely and downloaded to a device. It extends `RemoteModel`. `CustomRemoteModel.Builder` facilitates the creation of `CustomRemoteModel` instances. Inherited methods from `RemoteModel` include `equals`, `hashCode`, and `toString`. Inherited methods from `java.lang.Object` include functionalities like `clone`, `finalize`, `getClass`, `notify`, `wait` and its different overload versions, `equals`, `hashCode` and `toString`. These methods provide object comparison, hash code generation, and string representation.\n"],null,["# CustomRemoteModel\n\npublic final class **CustomRemoteModel** extends [RemoteModel](/android/reference/com/google/mlkit/common/model/RemoteModel) \nA custom model that is stored remotely on the server and downloaded to the device. \n\n### Nested Class Summary\n\n|-------|---|---|-----------------------------------------------------------------------------------------------------|\n| class | [CustomRemoteModel.Builder](/android/reference/com/google/mlkit/common/model/CustomRemoteModel.Builder) || Builder of [CustomRemoteModel](/android/reference/com/google/mlkit/common/model/CustomRemoteModel). |\n\n### Inherited Method Summary\n\nFrom class [com.google.mlkit.common.model.RemoteModel](/android/reference/com/google/mlkit/common/model/RemoteModel) \n\n|-------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| boolean | [equals](/android/reference/com/google/mlkit/common/model/RemoteModel#equals(java.lang.Object))([Object](//developer.android.com/reference/java/lang/Object.html) o) Indicates whether some other object is \"equal to\" this one. |\n| int | [hashCode](/android/reference/com/google/mlkit/common/model/RemoteModel#hashCode())() Returns a hash code value for the object. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [toString](/android/reference/com/google/mlkit/common/model/RemoteModel#toString())() |\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |"]]