Documentation
¶
Index ¶
- type MediaProjectionCallbackClient
- func (c *MediaProjectionCallbackClient) OnCapturedContentResize(ctx context.Context, arg0 int32, arg1 int32) error
- func (c *MediaProjectionCallbackClient) OnCapturedContentVisibilityChanged(ctx context.Context, arg0 bool) error
- func (c *MediaProjectionCallbackClient) OnStop(ctx context.Context) error
- type MediaProjectionClient
- type MediaProjectionConfigClient
- func (c *MediaProjectionConfigClient) CreateConfigForDefaultDisplay(ctx context.Context) (int64, error)
- func (c *MediaProjectionConfigClient) CreateConfigForUserChoice(ctx context.Context) (int64, error)
- func (c *MediaProjectionConfigClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *MediaProjectionConfigClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *MediaProjectionConfigClient) HashCode(ctx context.Context) (int32, error)
- func (c *MediaProjectionConfigClient) ToString(ctx context.Context) (string, error)
- func (c *MediaProjectionConfigClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type MediaProjectionManagerClient
- func (c *MediaProjectionManagerClient) CreateScreenCaptureIntent0(ctx context.Context) (int64, error)
- func (c *MediaProjectionManagerClient) CreateScreenCaptureIntent1_1(ctx context.Context, arg0 int64) (int64, error)
- func (c *MediaProjectionManagerClient) GetMediaProjection(ctx context.Context, arg0 int32, arg1 int64) (int64, error)
- type VirtualDisplayCallbackClient
- type VirtualDisplayClient
- func (c *VirtualDisplayClient) GetDisplay(ctx context.Context) (int64, error)
- func (c *VirtualDisplayClient) GetSurface(ctx context.Context) (int64, error)
- func (c *VirtualDisplayClient) Release(ctx context.Context) error
- func (c *VirtualDisplayClient) Resize(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
- func (c *VirtualDisplayClient) SetRotation(ctx context.Context, arg0 int32) error
- func (c *VirtualDisplayClient) SetSurface(ctx context.Context, arg0 int64) error
- func (c *VirtualDisplayClient) ToString(ctx context.Context) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MediaProjectionCallbackClient ¶ added in v0.0.6
type MediaProjectionCallbackClient struct {
// contains filtered or unexported fields
}
MediaProjectionCallbackClient wraps the gRPC MediaProjectionCallbackService client.
func NewMediaProjectionCallbackClient ¶ added in v0.0.6
func NewMediaProjectionCallbackClient(cc grpc.ClientConnInterface) *MediaProjectionCallbackClient
NewMediaProjectionCallbackClient creates a new MediaProjectionCallback client.
func (*MediaProjectionCallbackClient) OnCapturedContentResize ¶ added in v0.0.6
func (c *MediaProjectionCallbackClient) OnCapturedContentResize(ctx context.Context, arg0 int32, arg1 int32) error
OnCapturedContentResize calls the OnCapturedContentResize RPC.
func (*MediaProjectionCallbackClient) OnCapturedContentVisibilityChanged ¶ added in v0.0.6
func (c *MediaProjectionCallbackClient) OnCapturedContentVisibilityChanged(ctx context.Context, arg0 bool) error
OnCapturedContentVisibilityChanged calls the OnCapturedContentVisibilityChanged RPC.
type MediaProjectionClient ¶ added in v0.0.6
type MediaProjectionClient struct {
// contains filtered or unexported fields
}
MediaProjectionClient wraps the gRPC MediaProjectionService client.
func NewMediaProjectionClient ¶ added in v0.0.6
func NewMediaProjectionClient(cc grpc.ClientConnInterface) *MediaProjectionClient
NewMediaProjectionClient creates a new MediaProjection client.
func (*MediaProjectionClient) Stop ¶ added in v0.0.6
func (c *MediaProjectionClient) Stop(ctx context.Context) error
Stop calls the Stop RPC.
func (*MediaProjectionClient) UnregisterCallback ¶ added in v0.0.6
func (c *MediaProjectionClient) UnregisterCallback(ctx context.Context, arg0 int64) error
UnregisterCallback calls the UnregisterCallback RPC.
type MediaProjectionConfigClient ¶ added in v0.0.6
type MediaProjectionConfigClient struct {
// contains filtered or unexported fields
}
MediaProjectionConfigClient wraps the gRPC MediaProjectionConfigService client.
func NewMediaProjectionConfigClient ¶ added in v0.0.6
func NewMediaProjectionConfigClient(cc grpc.ClientConnInterface) *MediaProjectionConfigClient
NewMediaProjectionConfigClient creates a new MediaProjectionConfig client.
func (*MediaProjectionConfigClient) CreateConfigForDefaultDisplay ¶ added in v0.0.6
func (c *MediaProjectionConfigClient) CreateConfigForDefaultDisplay(ctx context.Context) (int64, error)
CreateConfigForDefaultDisplay calls the CreateConfigForDefaultDisplay RPC.
func (*MediaProjectionConfigClient) CreateConfigForUserChoice ¶ added in v0.0.6
func (c *MediaProjectionConfigClient) CreateConfigForUserChoice(ctx context.Context) (int64, error)
CreateConfigForUserChoice calls the CreateConfigForUserChoice RPC.
func (*MediaProjectionConfigClient) DescribeContents ¶ added in v0.0.6
func (c *MediaProjectionConfigClient) DescribeContents(ctx context.Context) (int32, error)
DescribeContents calls the DescribeContents RPC.
func (*MediaProjectionConfigClient) HashCode ¶ added in v0.0.6
func (c *MediaProjectionConfigClient) HashCode(ctx context.Context) (int32, error)
HashCode calls the HashCode RPC.
func (*MediaProjectionConfigClient) ToString ¶ added in v0.0.6
func (c *MediaProjectionConfigClient) ToString(ctx context.Context) (string, error)
ToString calls the ToString RPC.
func (*MediaProjectionConfigClient) WriteToParcel ¶ added in v0.0.6
func (c *MediaProjectionConfigClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
WriteToParcel calls the WriteToParcel RPC.
type MediaProjectionManagerClient ¶ added in v0.0.6
type MediaProjectionManagerClient struct {
// contains filtered or unexported fields
}
MediaProjectionManagerClient wraps the gRPC MediaProjectionManagerService client.
func NewMediaProjectionManagerClient ¶ added in v0.0.6
func NewMediaProjectionManagerClient(cc grpc.ClientConnInterface) *MediaProjectionManagerClient
NewMediaProjectionManagerClient creates a new MediaProjectionManager client.
func (*MediaProjectionManagerClient) CreateScreenCaptureIntent0 ¶ added in v0.0.6
func (c *MediaProjectionManagerClient) CreateScreenCaptureIntent0(ctx context.Context) (int64, error)
CreateScreenCaptureIntent0 calls the CreateScreenCaptureIntent0 RPC.
func (*MediaProjectionManagerClient) CreateScreenCaptureIntent1_1 ¶ added in v0.0.6
func (c *MediaProjectionManagerClient) CreateScreenCaptureIntent1_1(ctx context.Context, arg0 int64) (int64, error)
CreateScreenCaptureIntent1_1 calls the CreateScreenCaptureIntent1_1 RPC.
func (*MediaProjectionManagerClient) GetMediaProjection ¶ added in v0.0.6
func (c *MediaProjectionManagerClient) GetMediaProjection(ctx context.Context, arg0 int32, arg1 int64) (int64, error)
GetMediaProjection calls the GetMediaProjection RPC.
type VirtualDisplayCallbackClient ¶ added in v0.0.6
type VirtualDisplayCallbackClient struct {
// contains filtered or unexported fields
}
VirtualDisplayCallbackClient wraps the gRPC VirtualDisplayCallbackService client.
func NewVirtualDisplayCallbackClient ¶ added in v0.0.6
func NewVirtualDisplayCallbackClient(cc grpc.ClientConnInterface) *VirtualDisplayCallbackClient
NewVirtualDisplayCallbackClient creates a new VirtualDisplayCallback client.
func (*VirtualDisplayCallbackClient) OnPaused ¶ added in v0.0.6
func (c *VirtualDisplayCallbackClient) OnPaused(ctx context.Context) error
OnPaused calls the OnPaused RPC.
type VirtualDisplayClient ¶ added in v0.0.6
type VirtualDisplayClient struct {
// contains filtered or unexported fields
}
VirtualDisplayClient wraps the gRPC VirtualDisplayService client.
func NewVirtualDisplayClient ¶ added in v0.0.6
func NewVirtualDisplayClient(cc grpc.ClientConnInterface) *VirtualDisplayClient
NewVirtualDisplayClient creates a new VirtualDisplay client.
func (*VirtualDisplayClient) GetDisplay ¶ added in v0.0.6
func (c *VirtualDisplayClient) GetDisplay(ctx context.Context) (int64, error)
GetDisplay calls the GetDisplay RPC.
func (*VirtualDisplayClient) GetSurface ¶ added in v0.0.6
func (c *VirtualDisplayClient) GetSurface(ctx context.Context) (int64, error)
GetSurface calls the GetSurface RPC.
func (*VirtualDisplayClient) Release ¶ added in v0.0.6
func (c *VirtualDisplayClient) Release(ctx context.Context) error
Release calls the Release RPC.
func (*VirtualDisplayClient) Resize ¶ added in v0.0.6
func (c *VirtualDisplayClient) Resize(ctx context.Context, arg0 int32, arg1 int32, arg2 int32) error
Resize calls the Resize RPC.
func (*VirtualDisplayClient) SetRotation ¶ added in v0.0.6
func (c *VirtualDisplayClient) SetRotation(ctx context.Context, arg0 int32) error
SetRotation calls the SetRotation RPC.
func (*VirtualDisplayClient) SetSurface ¶ added in v0.0.6
func (c *VirtualDisplayClient) SetSurface(ctx context.Context, arg0 int64) error
SetSurface calls the SetSurface RPC.