Freigeben über


Allocation.Usage Property

Definition

Get the usage flags of the Allocation.

public virtual int Usage { [Android.Runtime.Register("getUsage", "()I", "GetGetUsageHandler")] get; }
[<get: Android.Runtime.Register("getUsage", "()I", "GetGetUsageHandler")>]
member this.Usage : int

Property Value

usage this Allocation's set of the USAGE_* flags OR'd together

Attributes

Remarks

Get the usage flags of the Allocation.

Java documentation for android.renderscript.Allocation.getUsage().

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