TemperatureControlTemplate 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
새 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 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.