Android.OS.Debug.SetAllocationLimit Method
Establish an object allocation limit in the current thread.

Syntax

[Android.Runtime.Register("setAllocationLimit", "(I)I", "")]
[System.Obsolete("deprecated")]
public static int SetAllocationLimit (int limit)

Parameters

limit
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Establish an object allocation limit in the current thread. This feature was never enabled in release builds. The allocation limits feature was removed in Honeycomb. This method exists for compatibility and always returns -1 and has no effect.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1