Help us shape the future of Go! Take the 2026 Go Developer Survey

common

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CameraDeviceStatus

type CameraDeviceStatus int32
const (
	CameraDeviceStatusNotPresent  CameraDeviceStatus = 0
	CameraDeviceStatusPRESENT     CameraDeviceStatus = 1
	CameraDeviceStatusENUMERATING CameraDeviceStatus = 2
)

type CameraMetadataType

type CameraMetadataType int32
const (
	CameraMetadataTypeBYTE     CameraMetadataType = 0
	CameraMetadataTypeINT32    CameraMetadataType = 1
	CameraMetadataTypeFLOAT    CameraMetadataType = 2
	CameraMetadataTypeINT64    CameraMetadataType = 3
	CameraMetadataTypeDOUBLE   CameraMetadataType = 4
	CameraMetadataTypeRATIONAL CameraMetadataType = 5
)

type CameraResourceCost

type CameraResourceCost struct {
	ResourceCost       int32
	ConflictingDevices []string
}

func (*CameraResourceCost) MarshalParcel

func (s *CameraResourceCost) MarshalParcel(
	p *parcel.Parcel,
) error

func (*CameraResourceCost) UnmarshalParcel

func (s *CameraResourceCost) UnmarshalParcel(
	p *parcel.Parcel,
) error

type Status

type Status int32
const (
	StatusOK                    Status = 0
	StatusIllegalArgument       Status = 1
	StatusCameraInUse           Status = 2
	StatusMaxCamerasInUse       Status = 3
	StatusOperationNotSupported Status = 4
	StatusCameraDisconnected    Status = 5
	StatusInternalError         Status = 6
)

type TagBoundaryId

type TagBoundaryId int64
const (
	TagBoundaryIdAOSP   TagBoundaryId = 0
	TagBoundaryIdVENDOR TagBoundaryId = 2147483648
)

type TorchModeStatus

type TorchModeStatus int32
const (
	TorchModeStatusNotAvailable TorchModeStatus = 0
	TorchModeStatusAvailableOff TorchModeStatus = 1
	TorchModeStatusAvailableOn  TorchModeStatus = 2
)

type VendorTag

type VendorTag struct {
	TagId   int32
	TagName string
	TagType CameraMetadataType
}

func (*VendorTag) MarshalParcel

func (s *VendorTag) MarshalParcel(
	p *parcel.Parcel,
) error

func (*VendorTag) UnmarshalParcel

func (s *VendorTag) UnmarshalParcel(
	p *parcel.Parcel,
) error

type VendorTagSection

type VendorTagSection struct {
	SectionName string
	Tags        []VendorTag
}

func (*VendorTagSection) MarshalParcel

func (s *VendorTagSection) MarshalParcel(
	p *parcel.Parcel,
) error

func (*VendorTagSection) UnmarshalParcel

func (s *VendorTagSection) UnmarshalParcel(
	p *parcel.Parcel,
) error

Jump to

Keyboard shortcuts

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