Language

Notification.SemanticStyleInfo フィールド

定義

注意事項

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

この値は、他のコンテンツから目立つ必要があるが、スケールや階層には含まれない情報を示す情報として要素に注釈を付けるために使用されます。

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

フィールド値

Value = 1

実装

属性

注釈

この値は、他のコンテンツから目立つ必要があるが、スケールや階層には含まれない情報を示す情報として要素に注釈を付けるために使用されます。 これは、要素が他のセマンティック スタイルを持つ要素に対して目立つように意図されている場合に使用できる、より中立的な値と考えることができます。たとえば、ProgressStyle バーでセマンティック スタイルを使用してセグメントを色付けする場合、このスタイルは、セマンティック階層がユーザーにとって役に立たないセグメントに適しています。

通常、情報は、他のスタイルで使用される色とは明確に異なる色 (青など) で要素をスタイル設定することで、ユーザーに表示されます。

android.app.Notification.SEMANTIC_STYLE_INFOの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象