语言

Notification.Action.SemanticActionStop 字段

定义

注意

This constant will be removed in the future version. Use Android.App.SemanticAction enum directly instead of this field.

SemanticAction:停止与通知关联的内容。

[Android.Runtime.Register("SEMANTIC_ACTION_STOP", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.SemanticAction enum directly instead of this field.", true)]
public const Android.App.SemanticAction SemanticActionStop = 15;
[<Android.Runtime.Register("SEMANTIC_ACTION_STOP", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.SemanticAction enum directly instead of this field.", true)>]
val mutable SemanticActionStop : Android.App.SemanticAction

字段值

Value = 15

实现

特性

注解

SemanticAction:停止与通知关联的内容。 这可能意味着停止媒体播放、重置计时器等。暗示后续SEMANTIC_ACTION_PLAY将从一开始就重启,或者可能根本不提供。

Android 参考。android.app.Notification.Action.SEMANTIC_ACTION_STOP

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于