-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathinput_source_type.go
More file actions
35 lines (29 loc) · 835 Bytes
/
input_source_type.go
File metadata and controls
35 lines (29 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package characteristic
// THIS FILE IS AUTO-GENERATED
const (
InputSourceTypeOther int = 0
InputSourceTypeHomeScreen int = 1
InputSourceTypeApplication int = 10
InputSourceTypeTuner int = 2
InputSourceTypeHdmi int = 3
InputSourceTypeCompositeVideo int = 4
InputSourceTypeSVideo int = 5
InputSourceTypeComponentVideo int = 6
InputSourceTypeDvi int = 7
InputSourceTypeAirplay int = 8
InputSourceTypeUsb int = 9
)
const TypeInputSourceType = "DB"
type InputSourceType struct {
*Int
}
func NewInputSourceType() *InputSourceType {
c := NewInt(TypeInputSourceType)
c.Format = FormatUInt8
c.Permissions = []string{PermissionRead, PermissionEvents}
c.SetMinValue(0)
c.SetMaxValue(10)
c.SetStepValue(1)
c.SetValue(0)
return &InputSourceType{c}
}