GenericDocument.GetPropertyLongArray(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.
Retrieves a repeated long[]
property by path.
[Android.Runtime.Register("getPropertyLongArray", "(Ljava/lang/String;)[J", "GetGetPropertyLongArray_Ljava_lang_String_Handler", ApiSince=31)]
public virtual long[]? GetPropertyLongArray (string path);
[<Android.Runtime.Register("getPropertyLongArray", "(Ljava/lang/String;)[J", "GetGetPropertyLongArray_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member GetPropertyLongArray : string -> int64[]
override this.GetPropertyLongArray : string -> int64[]
Parameters
- path
- String
The path to look for.
Returns
The long[]
associated with the given path, or null
if no value is set
or the value is of a different type.
- Attributes
Remarks
Retrieves a repeated long[]
property by path.
See #getProperty
for a detailed description of the path syntax.
If the property has not been set via Builder#setPropertyLong
, this method returns null
.
If it has been set via Builder#setPropertyLong
to an empty long[]
, this method returns an empty long[]
.
Java documentation for android.app.appsearch.GenericDocument.getPropertyLongArray(java.lang.String)
.
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.