共用方式為


AnalogClock.SetSecondHand(Icon) Method

Definition

Sets the second hand of the clock to the specified Icon, or hides the second hand if it is null.

[Android.Runtime.Register("setSecondHand", "(Landroid/graphics/drawable/Icon;)V", "GetSetSecondHand_Landroid_graphics_drawable_Icon_Handler", ApiSince=31)]
public virtual void SetSecondHand (Android.Graphics.Drawables.Icon? icon);
[<Android.Runtime.Register("setSecondHand", "(Landroid/graphics/drawable/Icon;)V", "GetSetSecondHand_Landroid_graphics_drawable_Icon_Handler", ApiSince=31)>]
abstract member SetSecondHand : Android.Graphics.Drawables.Icon -> unit
override this.SetSecondHand : Android.Graphics.Drawables.Icon -> unit

Parameters

icon
Icon
Attributes

Remarks

Sets the second hand of the clock to the specified Icon, or hides the second hand if it is null.

Java documentation for android.widget.AnalogClock.setSecondHand(android.graphics.drawable.Icon).

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