共用方式為


Runtime.TraceMethodCalls(Boolean) Method

Definition

Not implemented, does nothing.

[Android.Runtime.Register("traceMethodCalls", "(Z)V", "GetTraceMethodCalls_ZHandler")]
public virtual void TraceMethodCalls (bool on);
[<Android.Runtime.Register("traceMethodCalls", "(Z)V", "GetTraceMethodCalls_ZHandler")>]
abstract member TraceMethodCalls : bool -> unit
override this.TraceMethodCalls : bool -> unit

Parameters

on
Boolean

ignored

Attributes

Remarks

Not implemented, does nothing.

Calling this method on Android Lollipop or later (API level >= 21) with true argument will cause it to throw an UnsupportedOperationException.

This member is deprecated. This method was intended to control method call tracing. It has been superseded by ART-specific tracing mechanisms.

Java documentation for java.lang.Runtime.traceMethodCalls(boolean).

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