다음을 통해 공유


TemperatureControlTemplate 생성자

정의

TemperatureControlTemplate를 생성합니다.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/service/controls/templates/ControlTemplate;III)V", "", ApiSince=30)]
public TemperatureControlTemplate(string templateId, Android.Service.Controls.Templates.ControlTemplate controlTemplate, int currentMode, int currentActiveMode, int modesFlag);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/service/controls/templates/ControlTemplate;III)V", "", ApiSince=30)>]
new Android.Service.Controls.Templates.TemperatureControlTemplate : string * Android.Service.Controls.Templates.ControlTemplate * int * int * int -> Android.Service.Controls.Templates.TemperatureControlTemplate

매개 변수

templateId
String

이 템플릿 개체의 식별자

controlTemplate
ControlTemplate

사용자와의 상호 작용에 사용할 템플릿

currentMode
Int32

에 대한 현재 모드 Control

currentActiveMode
Int32

에 대한 현재 활성 모드 Control

modesFlag
Int32

에 사용 가능한 모드를 나타내는 플래그 Control

특성

설명

TemperatureControlTemplate를 생성합니다.

현재 및 활성 모드는 플래그에서 지원하는 모드 중 하나여야 합니다.

에 대한 android.service.controls.templates.TemperatureControlTemplate.TemperatureControlTemplate(java.lang.String, android.service.controls.templates.ControlTemplate, int, int, int)Java 설명서

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상