Documentation
¶
Overview ¶
Package controls provides Go bindings for android.service.controls.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type Control
- func (m *Control) DescribeContents() (int32, error)
- func (m *Control) GetAppIntent() (*jni.Object, error)
- func (m *Control) GetControlId() (string, error)
- func (m *Control) GetControlTemplate() (*jni.Object, error)
- func (m *Control) GetCustomColor() (*jni.Object, error)
- func (m *Control) GetCustomIcon() (*jni.Object, error)
- func (m *Control) GetDeviceType() (int32, error)
- func (m *Control) GetStatus() (int32, error)
- func (m *Control) GetStatusText() (*jni.Object, error)
- func (m *Control) GetStructure() (*jni.Object, error)
- func (m *Control) GetSubtitle() (*jni.Object, error)
- func (m *Control) GetTitle() (*jni.Object, error)
- func (m *Control) GetZone() (*jni.Object, error)
- func (m *Control) IsAuthRequired() (bool, error)
- func (m *Control) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type ControlStatefulBuilder
- func (m *ControlStatefulBuilder) Build() (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetAppIntent(arg0 *jni.Object) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetAuthRequired(arg0 bool) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetControlId(arg0 string) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetControlTemplate(arg0 *jni.Object) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetCustomColor(arg0 *jni.Object) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetCustomIcon(arg0 *jni.Object) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetDeviceType(arg0 int32) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetStatus(arg0 int32) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetStatusText(arg0 string) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetStructure(arg0 string) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetSubtitle(arg0 string) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetTitle(arg0 string) (*jni.Object, error)
- func (m *ControlStatefulBuilder) SetZone(arg0 string) (*jni.Object, error)
- type ControlStatelessBuilder
- func (m *ControlStatelessBuilder) Build() (*jni.Object, error)
- func (m *ControlStatelessBuilder) SetAppIntent(arg0 *jni.Object) (*jni.Object, error)
- func (m *ControlStatelessBuilder) SetControlId(arg0 string) (*jni.Object, error)
- func (m *ControlStatelessBuilder) SetCustomColor(arg0 *jni.Object) (*jni.Object, error)
- func (m *ControlStatelessBuilder) SetCustomIcon(arg0 *jni.Object) (*jni.Object, error)
- func (m *ControlStatelessBuilder) SetDeviceType(arg0 int32) (*jni.Object, error)
- func (m *ControlStatelessBuilder) SetStructure(arg0 string) (*jni.Object, error)
- func (m *ControlStatelessBuilder) SetSubtitle(arg0 string) (*jni.Object, error)
- func (m *ControlStatelessBuilder) SetTitle(arg0 string) (*jni.Object, error)
- func (m *ControlStatelessBuilder) SetZone(arg0 string) (*jni.Object, error)
- type DeviceTypes
- type ProviderService
Constants ¶
const ( TypeAcHeater = consts.TypeAcHeater TypeAcUnit = consts.TypeAcUnit TypeAirFreshener = consts.TypeAirFreshener TypeAirPurifier = consts.TypeAirPurifier TypeAwning = consts.TypeAwning TypeBlinds = consts.TypeBlinds TypeCamera = consts.TypeCamera TypeCloset = consts.TypeCloset TypeCoffeeMaker = consts.TypeCoffeeMaker TypeCurtain = consts.TypeCurtain TypeDehumidifier = consts.TypeDehumidifier TypeDishwasher = consts.TypeDishwasher TypeDisplay = consts.TypeDisplay TypeDoor = consts.TypeDoor TypeDoorbell = consts.TypeDoorbell TypeDrawer = consts.TypeDrawer TypeDryer = consts.TypeDryer TypeFan = consts.TypeFan TypeGarage = consts.TypeGarage TypeGate = consts.TypeGate TypeGenericArmDisarm = consts.TypeGenericArmDisarm TypeGenericLockUnlock = consts.TypeGenericLockUnlock TypeGenericOnOff = consts.TypeGenericOnOff TypeGenericOpenClose = consts.TypeGenericOpenClose TypeGenericStartStop = consts.TypeGenericStartStop TypeGenericTempSetting = consts.TypeGenericTempSetting TypeGenericViewstream = consts.TypeGenericViewstream TypeHeater = consts.TypeHeater TypeHood = consts.TypeHood TypeHumidifier = consts.TypeHumidifier TypeKettle = consts.TypeKettle TypeLight = consts.TypeLight TypeLock = consts.TypeLock TypeMicrowave = consts.TypeMicrowave TypeMop = consts.TypeMop TypeMower = consts.TypeMower TypeMulticooker = consts.TypeMulticooker TypeOutlet = consts.TypeOutlet TypePergola = consts.TypePergola TypeRadiator = consts.TypeRadiator TypeRefrigerator = consts.TypeRefrigerator TypeRemoteControl = consts.TypeRemoteControl TypeRoutine = consts.TypeRoutine TypeSecuritySystem = consts.TypeSecuritySystem TypeSetTop = consts.TypeSetTop TypeShower = consts.TypeShower TypeShutter = consts.TypeShutter TypeSprinkler = consts.TypeSprinkler TypeStandmixer = consts.TypeStandmixer TypeStyler = consts.TypeStyler TypeSwitch = consts.TypeSwitch TypeThermostat = consts.TypeThermostat TypeTv = consts.TypeTv TypeUnknown = consts.TypeUnknown TypeVacuum = consts.TypeVacuum TypeValve = consts.TypeValve TypeWasher = consts.TypeWasher TypeWaterHeater = consts.TypeWaterHeater TypeWindow = consts.TypeWindow Creator = consts.Creator StatusDisabled = consts.StatusDisabled StatusError = consts.StatusError StatusNotFound = consts.StatusNotFound StatusOk = consts.StatusOk StatusUnknown = consts.StatusUnknown ControlsSurfaceActivityPanel = consts.ControlsSurfaceActivityPanel ControlsSurfaceDream = consts.ControlsSurfaceDream )
const ( ExtraControlsSurface = consts.ExtraControlsSurface ExtraLockscreenAllowTrivialControls = consts.ExtraLockscreenAllowTrivialControls MetaDataPanelActivity = consts.MetaDataPanelActivity ServiceControls = consts.ServiceControls Tag = consts.Tag )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Control ¶
Control wraps android.service.controls.Control.
func (*Control) DescribeContents ¶
DescribeContents calls android.service.controls.Control.describeContents.
func (*Control) GetAppIntent ¶
GetAppIntent calls android.service.controls.Control.getAppIntent.
func (*Control) GetControlId ¶
GetControlId calls android.service.controls.Control.getControlId.
func (*Control) GetControlTemplate ¶
GetControlTemplate calls android.service.controls.Control.getControlTemplate.
func (*Control) GetCustomColor ¶
GetCustomColor calls android.service.controls.Control.getCustomColor.
func (*Control) GetCustomIcon ¶
GetCustomIcon calls android.service.controls.Control.getCustomIcon.
func (*Control) GetDeviceType ¶
GetDeviceType calls android.service.controls.Control.getDeviceType.
func (*Control) GetStatusText ¶
GetStatusText calls android.service.controls.Control.getStatusText.
func (*Control) GetStructure ¶
GetStructure calls android.service.controls.Control.getStructure.
func (*Control) GetSubtitle ¶
GetSubtitle calls android.service.controls.Control.getSubtitle.
func (*Control) IsAuthRequired ¶
IsAuthRequired calls android.service.controls.Control.isAuthRequired.
type ControlStatefulBuilder ¶
ControlStatefulBuilder wraps android.service.controls.Control$StatefulBuilder.
func (*ControlStatefulBuilder) Build ¶
func (m *ControlStatefulBuilder) Build() (*jni.Object, error)
Build calls android.service.controls.Control$StatefulBuilder.build.
func (*ControlStatefulBuilder) SetAppIntent ¶
SetAppIntent calls android.service.controls.Control$StatefulBuilder.setAppIntent.
func (*ControlStatefulBuilder) SetAuthRequired ¶
func (m *ControlStatefulBuilder) SetAuthRequired(arg0 bool) (*jni.Object, error)
SetAuthRequired calls android.service.controls.Control$StatefulBuilder.setAuthRequired.
func (*ControlStatefulBuilder) SetControlId ¶
func (m *ControlStatefulBuilder) SetControlId(arg0 string) (*jni.Object, error)
SetControlId calls android.service.controls.Control$StatefulBuilder.setControlId.
func (*ControlStatefulBuilder) SetControlTemplate ¶
SetControlTemplate calls android.service.controls.Control$StatefulBuilder.setControlTemplate.
func (*ControlStatefulBuilder) SetCustomColor ¶
SetCustomColor calls android.service.controls.Control$StatefulBuilder.setCustomColor.
func (*ControlStatefulBuilder) SetCustomIcon ¶
SetCustomIcon calls android.service.controls.Control$StatefulBuilder.setCustomIcon.
func (*ControlStatefulBuilder) SetDeviceType ¶
func (m *ControlStatefulBuilder) SetDeviceType(arg0 int32) (*jni.Object, error)
SetDeviceType calls android.service.controls.Control$StatefulBuilder.setDeviceType.
func (*ControlStatefulBuilder) SetStatus ¶
func (m *ControlStatefulBuilder) SetStatus(arg0 int32) (*jni.Object, error)
SetStatus calls android.service.controls.Control$StatefulBuilder.setStatus.
func (*ControlStatefulBuilder) SetStatusText ¶
func (m *ControlStatefulBuilder) SetStatusText(arg0 string) (*jni.Object, error)
SetStatusText calls android.service.controls.Control$StatefulBuilder.setStatusText.
func (*ControlStatefulBuilder) SetStructure ¶
func (m *ControlStatefulBuilder) SetStructure(arg0 string) (*jni.Object, error)
SetStructure calls android.service.controls.Control$StatefulBuilder.setStructure.
func (*ControlStatefulBuilder) SetSubtitle ¶
func (m *ControlStatefulBuilder) SetSubtitle(arg0 string) (*jni.Object, error)
SetSubtitle calls android.service.controls.Control$StatefulBuilder.setSubtitle.
type ControlStatelessBuilder ¶
ControlStatelessBuilder wraps android.service.controls.Control$StatelessBuilder.
func (*ControlStatelessBuilder) Build ¶
func (m *ControlStatelessBuilder) Build() (*jni.Object, error)
Build calls android.service.controls.Control$StatelessBuilder.build.
func (*ControlStatelessBuilder) SetAppIntent ¶
SetAppIntent calls android.service.controls.Control$StatelessBuilder.setAppIntent.
func (*ControlStatelessBuilder) SetControlId ¶
func (m *ControlStatelessBuilder) SetControlId(arg0 string) (*jni.Object, error)
SetControlId calls android.service.controls.Control$StatelessBuilder.setControlId.
func (*ControlStatelessBuilder) SetCustomColor ¶
SetCustomColor calls android.service.controls.Control$StatelessBuilder.setCustomColor.
func (*ControlStatelessBuilder) SetCustomIcon ¶
SetCustomIcon calls android.service.controls.Control$StatelessBuilder.setCustomIcon.
func (*ControlStatelessBuilder) SetDeviceType ¶
func (m *ControlStatelessBuilder) SetDeviceType(arg0 int32) (*jni.Object, error)
SetDeviceType calls android.service.controls.Control$StatelessBuilder.setDeviceType.
func (*ControlStatelessBuilder) SetStructure ¶
func (m *ControlStatelessBuilder) SetStructure(arg0 string) (*jni.Object, error)
SetStructure calls android.service.controls.Control$StatelessBuilder.setStructure.
func (*ControlStatelessBuilder) SetSubtitle ¶
func (m *ControlStatelessBuilder) SetSubtitle(arg0 string) (*jni.Object, error)
SetSubtitle calls android.service.controls.Control$StatelessBuilder.setSubtitle.
type DeviceTypes ¶
DeviceTypes wraps android.service.controls.DeviceTypes.
func (*DeviceTypes) ValidDeviceType ¶
func (m *DeviceTypes) ValidDeviceType(arg0 int32) (bool, error)
ValidDeviceType calls android.service.controls.DeviceTypes.validDeviceType.
type ProviderService ¶
ProviderService wraps android.service.controls.ControlsProviderService.
func (*ProviderService) OnBind ¶
OnBind calls android.service.controls.ControlsProviderService.onBind.
func (*ProviderService) OnUnbind ¶
func (m *ProviderService) OnUnbind(arg0 *jni.Object) (bool, error)
OnUnbind calls android.service.controls.ControlsProviderService.onUnbind.
func (*ProviderService) RequestAddControl ¶
func (m *ProviderService) RequestAddControl( arg0 *jni.Object, arg1 *jni.Object, arg2 *jni.Object, ) error
RequestAddControl calls android.service.controls.ControlsProviderService.requestAddControl.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package actions provides Go bindings for android.service.controls.actions.
|
Package actions provides Go bindings for android.service.controls.actions. |
|
Package templates provides Go bindings for android.service.controls.templates.
|
Package templates provides Go bindings for android.service.controls.templates. |