Language

Os.Getxattr(String, String) Method

Definition

[Android.Runtime.Register("getxattr", "(Ljava/lang/String;Ljava/lang/String;)[B", "", ApiSince=26)]
public static byte[]? Getxattr(string? path, string? name);
[<Android.Runtime.Register("getxattr", "(Ljava/lang/String;Ljava/lang/String;)[B", "", ApiSince=26)>]
static member Getxattr : string * string -> byte[]

Parameters

path
String

The path of the file whose extended attribute is read.

name
String

The complete name of the extended attribute.

Returns

Byte[]

The raw value bytes of the named extended attribute.

Attributes

Remarks

See getxattr(2)

Java documentation for android.system.Os.getxattr(java.lang.String, 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.

Applies to