Udostępnij za pośrednictwem


HardwareRenderer.SetName(String) Method

Definition

Sets a name for this renderer.

[Android.Runtime.Register("setName", "(Ljava/lang/String;)V", "GetSetName_Ljava_lang_String_Handler", ApiSince=29)]
public virtual void SetName (string name);
[<Android.Runtime.Register("setName", "(Ljava/lang/String;)V", "GetSetName_Ljava_lang_String_Handler", ApiSince=29)>]
abstract member SetName : string -> unit
override this.SetName : string -> unit

Parameters

name
String

The debug name to use for this HardwareRenderer instance

Attributes

Remarks

Sets a name for this renderer. This is used to identify this renderer instance when reporting debug information such as the per-window frame time metrics reported by 'adb shell dumpsys gfxinfo [package] framestats'

Java documentation for android.graphics.HardwareRenderer.setName(java.lang.String).

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