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

common

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 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 CameraMetadataType

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

type ProviderIdAndVendorTagSections

type ProviderIdAndVendorTagSections struct {
	ProviderId        int64
	VendorTagSections []VendorTagSection
}

func (*ProviderIdAndVendorTagSections) MarshalParcel

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

func (*ProviderIdAndVendorTagSections) UnmarshalParcel

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

type Status

type Status int32
const (
	StatusNoError          Status = 0
	StatusPermissionDenied Status = 1
	StatusAlreadyExists    Status = 2
	StatusIllegalArgument  Status = 3
	StatusDISCONNECTED     Status = 4
	StatusTimedOut         Status = 5
	StatusDISABLED         Status = 6
	StatusCameraInUse      Status = 7
	StatusMaxCamerasInUse  Status = 8
	StatusDeprecatedHal    Status = 9
	StatusInvalidOperation Status = 10
	StatusUnknownError     Status = 11
)

type TagBoundaryId

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

type VendorTag

type VendorTag struct {
	TagId   int64
	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