语言

AnalogClock.SetSecondHand(Icon) 方法

定义

注意

deprecated

将时钟的第二手设置为指定的图标,或隐藏第二手(如果为 null)。

[Android.Runtime.Register("setSecondHand", "(Landroid/graphics/drawable/Icon;)V", "GetSetSecondHand_Landroid_graphics_drawable_Icon_Handler", ApiSince=31)]
[System.Obsolete("deprecated")]
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)>]
[<System.Obsolete("deprecated")>]
abstract member SetSecondHand : Android.Graphics.Drawables.Icon -> unit
override this.SetSecondHand : Android.Graphics.Drawables.Icon -> unit

参数

icon
Icon

图标:此值可能为 null。

属性

注解

将时钟的第二手设置为指定的图标,或隐藏第二手(如果为 null)。

Java文档android.widget.AnalogClock.setSecondHand(android.graphics.drawable.Icon)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于