Compartilhar via


ThumbnailTemplate Construtores

Definição

Sobrecargas

ThumbnailTemplate(String, Boolean, Icon, ICharSequence)
ThumbnailTemplate(String, Boolean, Icon, String)

ThumbnailTemplate(String, Boolean, Icon, ICharSequence)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ZLandroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=31)]
public ThumbnailTemplate (string templateId, bool active, Android.Graphics.Drawables.Icon thumbnail, Java.Lang.ICharSequence contentDescription);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ZLandroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=31)>]
new Android.Service.Controls.Templates.ThumbnailTemplate : string * bool * Android.Graphics.Drawables.Icon * Java.Lang.ICharSequence -> Android.Service.Controls.Templates.ThumbnailTemplate

Parâmetros

templateId
String

O identificador deste objeto de modelo

active
Boolean

se a imagem corresponde a uma transmissão ativa (ao vivo).

thumbnail
Icon

uma imagem a ser exibida no Control

contentDescription
ICharSequence

uma descrição da imagem para acessibilidade.

Atributos

Comentários

Documentação Java para android.service.controls.templates.ThumbnailTemplate.ThumbnailTemplate(java.lang.String, boolean, android.graphics.drawable.Icon, java.lang.CharSequence).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.

Aplica-se a

ThumbnailTemplate(String, Boolean, Icon, String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ZLandroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=31)]
public ThumbnailTemplate (string templateId, bool active, Android.Graphics.Drawables.Icon thumbnail, string contentDescription);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ZLandroid/graphics/drawable/Icon;Ljava/lang/CharSequence;)V", "", ApiSince=31)>]
new Android.Service.Controls.Templates.ThumbnailTemplate : string * bool * Android.Graphics.Drawables.Icon * string -> Android.Service.Controls.Templates.ThumbnailTemplate

Parâmetros

templateId
String
active
Boolean
thumbnail
Icon
contentDescription
String
Atributos

Aplica-se a