forked from LUJUNQUAN/hap
-
Notifications
You must be signed in to change notification settings - Fork 1
/
camera_recording_management.go
36 lines (26 loc) · 1.29 KB
/
camera_recording_management.go
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
36
// THIS FILE IS AUTO-GENERATED
package service
import (
"github.com/twxstar/hap/characteristic"
)
const TypeCameraRecordingManagement = "204"
type CameraRecordingManagement struct {
*S
SupportedCameraRecordingConfiguration *characteristic.SupportedCameraRecordingConfiguration
SupportedVideoRecordingConfiguration *characteristic.SupportedVideoRecordingConfiguration
SupportedAudioRecordingConfiguration *characteristic.SupportedAudioRecordingConfiguration
SelectedCameraRecordingConfiguration *characteristic.SelectedCameraRecordingConfiguration
}
func NewCameraRecordingManagement() *CameraRecordingManagement {
s := CameraRecordingManagement{}
s.S = New(TypeCameraRecordingManagement)
s.SupportedCameraRecordingConfiguration = characteristic.NewSupportedCameraRecordingConfiguration()
s.AddC(s.SupportedCameraRecordingConfiguration.C)
s.SupportedVideoRecordingConfiguration = characteristic.NewSupportedVideoRecordingConfiguration()
s.AddC(s.SupportedVideoRecordingConfiguration.C)
s.SupportedAudioRecordingConfiguration = characteristic.NewSupportedAudioRecordingConfiguration()
s.AddC(s.SupportedAudioRecordingConfiguration.C)
s.SelectedCameraRecordingConfiguration = characteristic.NewSelectedCameraRecordingConfiguration()
s.AddC(s.SelectedCameraRecordingConfiguration.C)
return &s
}