Documentation ¶
Index ¶
- Variables
- type InputKey
- type InputType
- type ScreenFrame
- type SendInputEventRequest
- func (*SendInputEventRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendInputEventRequest) GetKey() InputKey
- func (x *SendInputEventRequest) GetType() InputType
- func (*SendInputEventRequest) ProtoMessage()
- func (x *SendInputEventRequest) ProtoReflect() protoreflect.Message
- func (x *SendInputEventRequest) Reset()
- func (x *SendInputEventRequest) String() string
- type StartScreenStreamRequest
- type StartVirtualDisplayRequest
- func (*StartVirtualDisplayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartVirtualDisplayRequest) GetFirstFrame() *ScreenFrame
- func (*StartVirtualDisplayRequest) ProtoMessage()
- func (x *StartVirtualDisplayRequest) ProtoReflect() protoreflect.Message
- func (x *StartVirtualDisplayRequest) Reset()
- func (x *StartVirtualDisplayRequest) String() string
- type StopScreenStreamRequest
- type StopVirtualDisplayRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var ( InputKey_name = map[int32]string{ 0: "UP", 1: "DOWN", 2: "RIGHT", 3: "LEFT", 4: "OK", 5: "BACK", } InputKey_value = map[string]int32{ "UP": 0, "DOWN": 1, "RIGHT": 2, "LEFT": 3, "OK": 4, "BACK": 5, } )
Enum value maps for InputKey.
View Source
var ( InputType_name = map[int32]string{ 0: "PRESS", 1: "RELEASE", 2: "SHORT", 3: "LONG", 4: "REPEAT", } InputType_value = map[string]int32{ "PRESS": 0, "RELEASE": 1, "SHORT": 2, "LONG": 3, "REPEAT": 4, } )
Enum value maps for InputType.
View Source
var File_gui_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type InputKey ¶
type InputKey int32
func (InputKey) Descriptor ¶
func (InputKey) Descriptor() protoreflect.EnumDescriptor
func (InputKey) EnumDescriptor
deprecated
func (InputKey) Number ¶
func (x InputKey) Number() protoreflect.EnumNumber
func (InputKey) Type ¶
func (InputKey) Type() protoreflect.EnumType
type InputType ¶
type InputType int32
const ( InputType_PRESS InputType = 0 //*< Press event, emitted after debounce InputType_RELEASE InputType = 1 //*< Release event, emitted after debounce InputType_SHORT InputType = 2 //*< Short event, emitted after InputTypeRelease done withing INPUT_LONG_PRESS interval InputType_LONG InputType = 3 //*< Long event, emmited after INPUT_LONG_PRESS interval, asynchronouse to InputTypeRelease InputType_REPEAT InputType = 4 //*< Repeat event, emmited with INPUT_REPEATE_PRESS period after InputTypeLong event )
func (InputType) Descriptor ¶
func (InputType) Descriptor() protoreflect.EnumDescriptor
func (InputType) EnumDescriptor
deprecated
func (InputType) Number ¶
func (x InputType) Number() protoreflect.EnumNumber
func (InputType) Type ¶
func (InputType) Type() protoreflect.EnumType
type ScreenFrame ¶ added in v0.2.0
type ScreenFrame struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ScreenFrame) Descriptor
deprecated
added in
v0.2.0
func (*ScreenFrame) Descriptor() ([]byte, []int)
Deprecated: Use ScreenFrame.ProtoReflect.Descriptor instead.
func (*ScreenFrame) GetData ¶ added in v0.2.0
func (x *ScreenFrame) GetData() []byte
func (*ScreenFrame) ProtoMessage ¶ added in v0.2.0
func (*ScreenFrame) ProtoMessage()
func (*ScreenFrame) ProtoReflect ¶ added in v0.2.0
func (x *ScreenFrame) ProtoReflect() protoreflect.Message
func (*ScreenFrame) Reset ¶ added in v0.2.0
func (x *ScreenFrame) Reset()
func (*ScreenFrame) String ¶ added in v0.2.0
func (x *ScreenFrame) String() string
type SendInputEventRequest ¶
type SendInputEventRequest struct { Key InputKey `protobuf:"varint,1,opt,name=key,proto3,enum=PB_Gui.InputKey" json:"key,omitempty"` Type InputType `protobuf:"varint,2,opt,name=type,proto3,enum=PB_Gui.InputType" json:"type,omitempty"` // contains filtered or unexported fields }
func (*SendInputEventRequest) Descriptor
deprecated
func (*SendInputEventRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendInputEventRequest.ProtoReflect.Descriptor instead.
func (*SendInputEventRequest) GetKey ¶
func (x *SendInputEventRequest) GetKey() InputKey
func (*SendInputEventRequest) GetType ¶
func (x *SendInputEventRequest) GetType() InputType
func (*SendInputEventRequest) ProtoMessage ¶
func (*SendInputEventRequest) ProtoMessage()
func (*SendInputEventRequest) ProtoReflect ¶
func (x *SendInputEventRequest) ProtoReflect() protoreflect.Message
func (*SendInputEventRequest) Reset ¶
func (x *SendInputEventRequest) Reset()
func (*SendInputEventRequest) String ¶
func (x *SendInputEventRequest) String() string
type StartScreenStreamRequest ¶
type StartScreenStreamRequest struct {
// contains filtered or unexported fields
}
func (*StartScreenStreamRequest) Descriptor
deprecated
func (*StartScreenStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartScreenStreamRequest.ProtoReflect.Descriptor instead.
func (*StartScreenStreamRequest) ProtoMessage ¶
func (*StartScreenStreamRequest) ProtoMessage()
func (*StartScreenStreamRequest) ProtoReflect ¶
func (x *StartScreenStreamRequest) ProtoReflect() protoreflect.Message
func (*StartScreenStreamRequest) Reset ¶
func (x *StartScreenStreamRequest) Reset()
func (*StartScreenStreamRequest) String ¶
func (x *StartScreenStreamRequest) String() string
type StartVirtualDisplayRequest ¶ added in v0.2.0
type StartVirtualDisplayRequest struct { FirstFrame *ScreenFrame `protobuf:"bytes,1,opt,name=first_frame,json=firstFrame,proto3" json:"first_frame,omitempty"` // optional // contains filtered or unexported fields }
func (*StartVirtualDisplayRequest) Descriptor
deprecated
added in
v0.2.0
func (*StartVirtualDisplayRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartVirtualDisplayRequest.ProtoReflect.Descriptor instead.
func (*StartVirtualDisplayRequest) GetFirstFrame ¶ added in v0.5.0
func (x *StartVirtualDisplayRequest) GetFirstFrame() *ScreenFrame
func (*StartVirtualDisplayRequest) ProtoMessage ¶ added in v0.2.0
func (*StartVirtualDisplayRequest) ProtoMessage()
func (*StartVirtualDisplayRequest) ProtoReflect ¶ added in v0.2.0
func (x *StartVirtualDisplayRequest) ProtoReflect() protoreflect.Message
func (*StartVirtualDisplayRequest) Reset ¶ added in v0.2.0
func (x *StartVirtualDisplayRequest) Reset()
func (*StartVirtualDisplayRequest) String ¶ added in v0.2.0
func (x *StartVirtualDisplayRequest) String() string
type StopScreenStreamRequest ¶
type StopScreenStreamRequest struct {
// contains filtered or unexported fields
}
func (*StopScreenStreamRequest) Descriptor
deprecated
func (*StopScreenStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopScreenStreamRequest.ProtoReflect.Descriptor instead.
func (*StopScreenStreamRequest) ProtoMessage ¶
func (*StopScreenStreamRequest) ProtoMessage()
func (*StopScreenStreamRequest) ProtoReflect ¶
func (x *StopScreenStreamRequest) ProtoReflect() protoreflect.Message
func (*StopScreenStreamRequest) Reset ¶
func (x *StopScreenStreamRequest) Reset()
func (*StopScreenStreamRequest) String ¶
func (x *StopScreenStreamRequest) String() string
type StopVirtualDisplayRequest ¶ added in v0.2.0
type StopVirtualDisplayRequest struct {
// contains filtered or unexported fields
}
func (*StopVirtualDisplayRequest) Descriptor
deprecated
added in
v0.2.0
func (*StopVirtualDisplayRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopVirtualDisplayRequest.ProtoReflect.Descriptor instead.
func (*StopVirtualDisplayRequest) ProtoMessage ¶ added in v0.2.0
func (*StopVirtualDisplayRequest) ProtoMessage()
func (*StopVirtualDisplayRequest) ProtoReflect ¶ added in v0.2.0
func (x *StopVirtualDisplayRequest) ProtoReflect() protoreflect.Message
func (*StopVirtualDisplayRequest) Reset ¶ added in v0.2.0
func (x *StopVirtualDisplayRequest) Reset()
func (*StopVirtualDisplayRequest) String ¶ added in v0.2.0
func (x *StopVirtualDisplayRequest) String() string
Click to show internal directories.
Click to hide internal directories.