Language

ThumbnailTemplate Constructors

Definition

Overloads

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

Parameters

templateId
String

the identifier for this template object

active
Boolean

whether the image corresponds to an active (live) stream.

thumbnail
Icon

an image to display on the Control

contentDescription
ICharSequence

a description of the image for accessibility.

Attributes

Remarks

Java documentation for android.service.controls.templates.ThumbnailTemplate.ThumbnailTemplate(java.lang.String, boolean, android.graphics.drawable.Icon, java.lang.CharSequence).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

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

Parameters

templateId
String

the identifier for this template object. This value cannot be null.

active
Boolean

whether the image corresponds to an active (live) stream.

thumbnail
Icon

an image to display on the Control This value cannot be null.

contentDescription
String

a description of the image for accessibility. This value cannot be null.

Attributes

Remarks

Android reference for android.service.controls.templates.ThumbnailTemplate.ThumbnailTemplate.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to