StrictMode.VmPolicy.Builder.SetClassInstanceLimit(Class, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set an upper bound on how many instances of a class can be in memory at once.
[Android.Runtime.Register("setClassInstanceLimit", "(Ljava/lang/Class;I)Landroid/os/StrictMode$VmPolicy$Builder;", "")]
public Android.OS.StrictMode.VmPolicy.Builder SetClassInstanceLimit (Java.Lang.Class? klass, int instanceLimit);
[<Android.Runtime.Register("setClassInstanceLimit", "(Ljava/lang/Class;I)Landroid/os/StrictMode$VmPolicy$Builder;", "")>]
member this.SetClassInstanceLimit : Java.Lang.Class * int -> Android.OS.StrictMode.VmPolicy.Builder
Parameters
- klass
- Class
- instanceLimit
- Int32
Returns
- Attributes
Remarks
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.