camera

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client wraps the gRPC ManagerService client.

func NewClient

func NewClient(cc grpc.ClientConnInterface) *Client

NewClient creates a new camera client.

func (*Client) GetCameraCharacteristics

func (c *Client) GetCameraCharacteristics(ctx context.Context, arg0 string) (int64, error)

GetCameraCharacteristics calls the GetCameraCharacteristics RPC.

func (*Client) GetCameraDeviceSetup

func (c *Client) GetCameraDeviceSetup(ctx context.Context, arg0 string) (int64, error)

GetCameraDeviceSetup calls the GetCameraDeviceSetup RPC.

func (*Client) GetCameraExtensionCharacteristics

func (c *Client) GetCameraExtensionCharacteristics(ctx context.Context, arg0 string) (int64, error)

GetCameraExtensionCharacteristics calls the GetCameraExtensionCharacteristics RPC.

func (*Client) GetCameraIdList

func (c *Client) GetCameraIdList(ctx context.Context) (int64, error)

GetCameraIdList calls the GetCameraIdList RPC.

func (*Client) GetConcurrentCameraIds

func (c *Client) GetConcurrentCameraIds(ctx context.Context) (int64, error)

GetConcurrentCameraIds calls the GetConcurrentCameraIds RPC.

func (*Client) GetTorchStrengthLevel

func (c *Client) GetTorchStrengthLevel(ctx context.Context, arg0 string) (int32, error)

GetTorchStrengthLevel calls the GetTorchStrengthLevel RPC.

func (*Client) IsCameraDeviceSetupSupported

func (c *Client) IsCameraDeviceSetupSupported(ctx context.Context, arg0 string) (bool, error)

IsCameraDeviceSetupSupported calls the IsCameraDeviceSetupSupported RPC.

func (*Client) IsConcurrentSessionConfigurationSupported

func (c *Client) IsConcurrentSessionConfigurationSupported(ctx context.Context, arg0 int64) (bool, error)

IsConcurrentSessionConfigurationSupported calls the IsConcurrentSessionConfigurationSupported RPC.

func (*Client) OpenCamera

func (c *Client) OpenCamera(ctx context.Context, arg0 string, arg1 int64, arg2 int64) error

OpenCamera calls the OpenCamera RPC.

func (*Client) RegisterAvailabilityCallback

func (c *Client) RegisterAvailabilityCallback(ctx context.Context, arg0 int64, arg1 int64) error

RegisterAvailabilityCallback calls the RegisterAvailabilityCallback RPC.

func (*Client) RegisterTorchCallback

func (c *Client) RegisterTorchCallback(ctx context.Context, arg0 int64, arg1 int64) error

RegisterTorchCallback calls the RegisterTorchCallback RPC.

func (*Client) SetTorchMode

func (c *Client) SetTorchMode(ctx context.Context, arg0 string, arg1 bool) error

SetTorchMode calls the SetTorchMode RPC.

func (*Client) TurnOnTorchWithStrengthLevel

func (c *Client) TurnOnTorchWithStrengthLevel(ctx context.Context, arg0 string, arg1 int32) error

TurnOnTorchWithStrengthLevel calls the TurnOnTorchWithStrengthLevel RPC.

func (*Client) UnregisterAvailabilityCallback

func (c *Client) UnregisterAvailabilityCallback(ctx context.Context, arg0 int64) error

UnregisterAvailabilityCallback calls the UnregisterAvailabilityCallback RPC.

func (*Client) UnregisterTorchCallback

func (c *Client) UnregisterTorchCallback(ctx context.Context, arg0 int64) error

UnregisterTorchCallback calls the UnregisterTorchCallback RPC.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL