Element.GetSubElementArraySize(Int32) Method

Definition

For complex elements, some sub-elements could be statically sized arrays.

[Android.Runtime.Register("getSubElementArraySize", "(I)I", "GetGetSubElementArraySize_IHandler")]
public virtual int GetSubElementArraySize (int index);
[<Android.Runtime.Register("getSubElementArraySize", "(I)I", "GetGetSubElementArraySize_IHandler")>]
abstract member GetSubElementArraySize : int -> int
override this.GetSubElementArraySize : int -> int

Parameters

index
Int32

index of the sub-element

Returns

array size of sub-element in this element at given index

Attributes

Remarks

For complex elements, some sub-elements could be statically sized arrays. This function will return the array size for sub-element at index

Java documentation for android.renderscript.Element.getSubElementArraySize(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