-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontentcaptureoptions.go
More file actions
75 lines (69 loc) · 1.76 KB
/
contentcaptureoptions.go
File metadata and controls
75 lines (69 loc) · 1.76 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
package content
import (
"github.com/AndroidGoLab/binder/parcel"
)
// Code generated by aidlgen. DO NOT EDIT.
type ContentCaptureOptions struct {
Lite bool
LoggingLevel int32
MaxBufferSize int32
IdleFlushingFrequencyMs int32
TextChangeFlushingFrequencyMs int32
LogHistorySize int32
DisableFlushForViewTreeAppearing bool
EnableReceiver bool
}
var _ parcel.Parcelable = (*ContentCaptureOptions)(nil)
func (s *ContentCaptureOptions) MarshalParcel(
p *parcel.Parcel,
) error {
p.WriteBool(s.Lite)
p.WriteInt32(s.LoggingLevel)
p.WriteInt32(s.MaxBufferSize)
p.WriteInt32(s.IdleFlushingFrequencyMs)
p.WriteInt32(s.TextChangeFlushingFrequencyMs)
p.WriteInt32(s.LogHistorySize)
p.WriteBool(s.DisableFlushForViewTreeAppearing)
p.WriteBool(s.EnableReceiver)
p.WriteInt32(-1) // null ContentProtectionOptions
p.WriteInt32(-1) // null WhitelistedComponents
return nil
}
func (s *ContentCaptureOptions) UnmarshalParcel(
p *parcel.Parcel,
) error {
var _err error
s.Lite, _err = p.ReadBool()
if _err != nil {
return _err
}
s.LoggingLevel, _err = p.ReadInt32()
if _err != nil {
return _err
}
s.MaxBufferSize, _err = p.ReadInt32()
if _err != nil {
return _err
}
s.IdleFlushingFrequencyMs, _err = p.ReadInt32()
if _err != nil {
return _err
}
s.TextChangeFlushingFrequencyMs, _err = p.ReadInt32()
if _err != nil {
return _err
}
s.LogHistorySize, _err = p.ReadInt32()
if _err != nil {
return _err
}
s.DisableFlushForViewTreeAppearing, _err = p.ReadBool()
if _err != nil {
return _err
}
s.EnableReceiver, _err = p.ReadBool()
if _err != nil {
return _err
}
return nil // opaque ContentProtectionOptions: cannot skip without known wire format
}