Lenguaje

Notification.ProgressStyle.Segment.SemanticStyle Propiedad

Definición

Devuelve la semántica aplicada al segmento.

public int SemanticStyle { [Android.Runtime.Register("getSemanticStyle", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getSemanticStyle", "()I", "", ApiSince=37)>]
member this.SemanticStyle : int

Valor de propiedad

El valor es uno de los siguientes: Notification.SEMANTIC_STYLE_UNSPECIFIED; Notification.SEMANTIC_STYLE_INFO; Notification.SEMANTIC_STYLE_SAFE; Notification.SEMANTIC_STYLE_CAUTION; Notification.SEMANTIC_STYLE_DANGER

Atributos

Comentarios

Devuelve la semántica aplicada al segmento. Cuando se promueve la notificación, este valor se usa para aplicar estilo al segmento (por ejemplo, color).

Referencia de Android para android.app.Notification.ProgressStyle.Segment.getSemanticStyle.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a