ThumbnailTemplate Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
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
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
- active
- Boolean
- thumbnail
- Icon
- contentDescription
- String
- Attributes