Language

Os.Setxattr(String, String, Byte[], Int32) Method

Definition

[Android.Runtime.Register("setxattr", "(Ljava/lang/String;Ljava/lang/String;[BI)V", "", ApiSince=26)]
public static void Setxattr(string? path, string? name, byte[]? value, int flags);
[<Android.Runtime.Register("setxattr", "(Ljava/lang/String;Ljava/lang/String;[BI)V", "", ApiSince=26)>]
static member Setxattr : string * string * byte[] * int -> unit

Parameters

path
String

The path of the file whose extended attribute is set.

name
String

The complete name of the extended attribute.

value
Byte[]

The raw bytes to store as the attribute value.

flags
Int32

The creation or replacement flags, or 0 to allow either operation.

Attributes

Remarks

See setxattr(2)

Java documentation for android.system.Os.setxattr(java.lang.String, java.lang.String, byte[], int).

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