ControlTemplate.NoTemplateObject Property
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.
Get a singleton ControlTemplate, which supports no direct user input.
public static Android.Service.Controls.Templates.ControlTemplate NoTemplateObject { [Android.Runtime.Register("getNoTemplateObject", "()Landroid/service/controls/templates/ControlTemplate;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getNoTemplateObject", "()Landroid/service/controls/templates/ControlTemplate;", "", ApiSince=30)>]
static member NoTemplateObject : Android.Service.Controls.Templates.ControlTemplate
Property Value
a singleton ControlTemplate to indicate no specific template is used by
this Control
- Attributes
Remarks
Get a singleton ControlTemplate, which supports no direct user input.
Used by Control.StatelessBuilder when there is no known state. Can also be used in Control.StatefulBuilder for conveying information to a user about the Control but direct user interaction is not desired. Since this template has no corresponding ControlAction, any user interaction will launch the Control#getAppIntent().
Java documentation for android.service.controls.templates.ControlTemplate.getNoTemplateObject().
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.