GenericDocument.Builder.SetNamespace(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the app-defined namespace this document resides in, changing the value provided in the constructor.
[Android.Runtime.Register("setNamespace", "(Ljava/lang/String;)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetNamespace_Ljava_lang_String_Handler", ApiSince=35)]
public virtual Java.Lang.Object SetNamespace(string namespace);
[<Android.Runtime.Register("setNamespace", "(Ljava/lang/String;)Landroid/app/appsearch/GenericDocument$Builder;", "GetSetNamespace_Ljava_lang_String_Handler", ApiSince=35)>]
abstract member SetNamespace : string -> Java.Lang.Object
override this.SetNamespace : string -> Java.Lang.Object
Parameters
- namespace
- String
Returns
- Attributes
Remarks
Sets the app-defined namespace this document resides in, changing the value provided in the constructor. No special values are reserved or understood by the infrastructure. Document IDs are unique within a namespace. The number of namespaces per app should be kept small for efficiency reasons.
Android reference for android.app.appsearch.GenericDocument.Builder.setNamespace.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.