consts

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: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AxisMinusX                               int = 129
	AxisMinusY                               int = 130
	AxisMinusZ                               int = 131
	AxisX                                    int = 1
	AxisY                                    int = 2
	AxisZ                                    int = 3
	DataX                                    int = 0
	DataY                                    int = 1
	DataZ                                    int = 2
	RawDataIndex                             int = 3
	RawDataX                                 int = 3
	RawDataY                                 int = 4
	RawDataZ                                 int = 5
	SensorAccelerometer                      int = 2
	SensorAll                                int = 127
	SensorDelayFastest                       int = 0
	SensorDelayGame                          int = 1
	SensorDelayNormal                        int = 3
	SensorDelayUi                            int = 2
	SensorLight                              int = 16
	SensorMagneticField                      int = 8
	SensorMax                                int = 64
	SensorMin                                int = 1
	SensorOrientation                        int = 1
	SensorOrientationRaw                     int = 128
	SensorProximity                          int = 32
	SensorStatusAccuracyHigh                 int = 3
	SensorStatusAccuracyLow                  int = 1
	SensorStatusAccuracyMedium               int = 2
	SensorStatusNoContact                    int = -1
	SensorStatusUnreliable                   int = 0
	SensorTemperature                        int = 4
	SensorTricorder                          int = 64
	Creator                                  int = 0
	ReportingModeContinuous                  int = 0
	ReportingModeOneShot                     int = 2
	ReportingModeOnChange                    int = 1
	ReportingModeSpecialTrigger              int = 3
	TypeAccelerometer                        int = 1
	TypeAccelerometerLimitedAxes             int = 38
	TypeAccelerometerLimitedAxesUncalibrated int = 40
	TypeAccelerometerUncalibrated            int = 35
	TypeAll                                  int = -1
	TypeAmbientTemperature                   int = 13
	TypeDevicePrivateBase                    int = 65536
	TypeGameRotationVector                   int = 15
	TypeGeomagneticRotationVector            int = 20
	TypeGravity                              int = 9
	TypeGyroscope                            int = 4
	TypeGyroscopeLimitedAxes                 int = 39
	TypeGyroscopeLimitedAxesUncalibrated     int = 41
	TypeGyroscopeUncalibrated                int = 16
	TypeHeading                              int = 42
	TypeHeadTracker                          int = 37
	TypeHeartBeat                            int = 31
	TypeHeartRate                            int = 21
	TypeHingeAngle                           int = 36
	TypeLight                                int = 5
	TypeLinearAcceleration                   int = 10
	TypeLowLatencyOffbodyDetect              int = 34
	TypeMagneticField                        int = 2
	TypeMagneticFieldUncalibrated            int = 14
	TypeMotionDetect                         int = 30
	TypeOrientation                          int = 3
	TypePose6dof                             int = 28
	TypePressure                             int = 6
	TypeProximity                            int = 8
	TypeRelativeHumidity                     int = 12
	TypeRotationVector                       int = 11
	TypeSignificantMotion                    int = 17
	TypeStationaryDetect                     int = 29
	TypeStepCounter                          int = 19
	TypeStepDetector                         int = 18
	TypeTemperature                          int = 7
	TypeFrameBegin                           int = 0
	TypeFrameEnd                             int = 1
	TypeInternalTemperature                  int = 65537
	TypeSampling                             int = 65540
	TypeSensorPlacement                      int = 65539
	TypeUntrackedDelay                       int = 65536
	TypeVec3Calibration                      int = 65538
	Blob                                     int = 33
	Ds24ui8                                  int = 50
	DsFp32ui8                                int = 52
	D16                                      int = 48
	D24                                      int = 49
	DFp32                                    int = 51
	Rgba10101010                             int = 59
	Rgba1010102                              int = 43
	Rgba8888                                 int = 1
	RgbaFp16                                 int = 22
	Rgbx8888                                 int = 2
	Rgb565                                   int = 4
	Rgb888                                   int = 3
	Rg1616                                   int = 58
	R16                                      int = 57
	R8                                       int = 56
	SUi8                                     int = 53
	Ycbcr420888                              int = 35
	YcbcrP010                                int = 54
	YcbcrP210                                int = 60
	RateFast                                 int = 2
	RateNormal                               int = 1
	RateStop                                 int = 0
	RateVeryFast                             int = 3
	TypeHardwareBuffer                       int = 2
	TypeMemoryFile                           int = 1
	OneDimension                             int = 1
	SamplingKeyCieY                          int = 2
	SamplingKeyMaxRgb                        int = 1
	SamplingKeyRgb                           int = 0
	ThreeDimension                           int = 3
	DataspaceAdobeRgb                        int = 151715840
	DataspaceBt2020                          int = 147193856
	DataspaceBt2020Hlg                       int = 168165376
	DataspaceBt2020Pq                        int = 163971072
	DataspaceBt601525                        int = 281280512
	DataspaceBt601625                        int = 281149440
	DataspaceBt709                           int = 281083904
	DataspaceDciP3                           int = 155844608
	DataspaceDepth                           int = 4096
	DataspaceDisplayP3                       int = 143261696
	DataspaceDynamicDepth                    int = 4098
	DataspaceHeif                            int = 4100
	DataspaceHeifUltrahdr                    int = 4102
	DataspaceJfif                            int = 146931712
	DataspaceJpegR                           int = 4101
	DataspaceScrgb                           int = 411107328
	DataspaceScrgbLinear                     int = 406913024
	DataspaceSrgb                            int = 142671872
	DataspaceSrgbLinear                      int = 138477568
	DataspaceUnknown                         int = 0
	RangeExtended                            int = 402653184
	RangeFull                                int = 134217728
	RangeLimited                             int = 268435456
	RangeUnspecified                         int = 0
	StandardAdobeRgb                         int = 720896
	StandardBt2020                           int = 393216
	StandardBt2020ConstantLuminance          int = 458752
	StandardBt470m                           int = 524288
	StandardBt601525                         int = 262144
	StandardBt601525Unadjusted               int = 327680
	StandardBt601625                         int = 131072
	StandardBt601625Unadjusted               int = 196608
	StandardBt709                            int = 65536
	StandardDciP3                            int = 655360
	StandardFilm                             int = 589824
	StandardUnspecified                      int = 0
	TransferGamma22                          int = 16777216
	TransferGamma26                          int = 20971520
	TransferGamma28                          int = 25165824
	TransferHlg                              int = 33554432
	TransferLinear                           int = 4194304
	TransferSmpte170m                        int = 12582912
	TransferSrgb                             int = 8388608
	TransferSt2084                           int = 29360128
	TransferUnspecified                      int = 0
	CameraErrorEvicted                       int = 2
	CameraErrorServerDied                    int = 100
	CameraErrorUnknown                       int = 1
	CameraFacingBack                         int = 0
	CameraFacingFront                        int = 1
	FocusDistanceFarIndex                    int = 2
	FocusDistanceNearIndex                   int = 0
	FocusDistanceOptimalIndex                int = 1
	PreviewFpsMaxIndex                       int = 1
	PreviewFpsMinIndex                       int = 0
	StatusCharging                           int = 2
	StatusDischarging                        int = 3
	StatusFull                               int = 5
	StatusNotCharging                        int = 4
	StatusUnknown                            int = 1
	ToggleTypeHardware                       int = 2
	ToggleTypeSoftware                       int = 1
	CameraConst                              int = 2
	Microphone                               int = 1
)
View Source
const (
	GravityDeathStarI          float32 = 3.5303614e-7
	GravityEarth               float32 = 9.80665
	GravityJupiter             float32 = 23.12
	GravityMars                float32 = 3.71
	GravityMercury             float32 = 3.7
	GravityMoon                float32 = 1.6
	GravityNeptune             float32 = 11.0
	GravityPluto               float32 = 0.6
	GravitySaturn              float32 = 8.96
	GravitySun                 float32 = 275.0
	GravityTheIsland           float32 = 4.815162
	GravityUranus              float32 = 8.69
	GravityVenus               float32 = 8.87
	LightCloudy                float32 = 100.0
	LightFullmoon              float32 = 0.25
	LightNoMoon                float32 = 0.001
	LightOvercast              float32 = 10000.0
	LightShade                 float32 = 20000.0
	LightSunlight              float32 = 110000.0
	LightSunlightMax           float32 = 120000.0
	LightSunrise               float32 = 400.0
	MagneticFieldEarthMax      float32 = 60.0
	MagneticFieldEarthMin      float32 = 30.0
	PressureStandardAtmosphere float32 = 1013.25
	StandardGravity            float32 = 9.80665
)
View Source
const (
	SignalTimeInvalid      int64 = -1
	SignalTimePending      int64 = 9223372036854775807
	UsageComposerOverlay   int64 = 2048
	UsageCpuReadOften      int64 = 3
	UsageCpuReadRarely     int64 = 2
	UsageCpuWriteOften     int64 = 48
	UsageCpuWriteRarely    int64 = 32
	UsageFrontBuffer       int64 = 4294967296
	UsageGpuColorOutput    int64 = 512
	UsageGpuCubeMap        int64 = 33554432
	UsageGpuDataBuffer     int64 = 16777216
	UsageGpuMipmapComplete int64 = 67108864
	UsageGpuSampledImage   int64 = 256
	UsageProtectedContent  int64 = 16384
	UsageSensorDirectData  int64 = 8388608
	UsageVideoEncode       int64 = 65536
)
View Source
const (
	StringTypeAccelerometer                        string = "android.sensor.accelerometer"
	StringTypeAccelerometerLimitedAxes             string = "android.sensor.accelerometer_limited_axes"
	StringTypeAccelerometerLimitedAxesUncalibrated string = "android.sensor.accelerometer_limited_axes_uncalibrated"
	StringTypeAccelerometerUncalibrated            string = "android.sensor.accelerometer_uncalibrated"
	StringTypeAmbientTemperature                   string = "android.sensor.ambient_temperature"
	StringTypeGameRotationVector                   string = "android.sensor.game_rotation_vector"
	StringTypeGeomagneticRotationVector            string = "android.sensor.geomagnetic_rotation_vector"
	StringTypeGravity                              string = "android.sensor.gravity"
	StringTypeGyroscope                            string = "android.sensor.gyroscope"
	StringTypeGyroscopeLimitedAxes                 string = "android.sensor.gyroscope_limited_axes"
	StringTypeGyroscopeLimitedAxesUncalibrated     string = "android.sensor.gyroscope_limited_axes_uncalibrated"
	StringTypeGyroscopeUncalibrated                string = "android.sensor.gyroscope_uncalibrated"
	StringTypeHeading                              string = "android.sensor.heading"
	StringTypeHeadTracker                          string = "android.sensor.head_tracker"
	StringTypeHeartBeat                            string = "android.sensor.heart_beat"
	StringTypeHeartRate                            string = "android.sensor.heart_rate"
	StringTypeHingeAngle                           string = "android.sensor.hinge_angle"
	StringTypeLight                                string = "android.sensor.light"
	StringTypeLinearAcceleration                   string = "android.sensor.linear_acceleration"
	StringTypeLowLatencyOffbodyDetect              string = "android.sensor.low_latency_offbody_detect"
	StringTypeMagneticField                        string = "android.sensor.magnetic_field"
	StringTypeMagneticFieldUncalibrated            string = "android.sensor.magnetic_field_uncalibrated"
	StringTypeMotionDetect                         string = "android.sensor.motion_detect"
	StringTypeOrientation                          string = "android.sensor.orientation"
	StringTypePose6dof                             string = "android.sensor.pose_6dof"
	StringTypePressure                             string = "android.sensor.pressure"
	StringTypeProximity                            string = "android.sensor.proximity"
	StringTypeRelativeHumidity                     string = "android.sensor.relative_humidity"
	StringTypeRotationVector                       string = "android.sensor.rotation_vector"
	StringTypeSignificantMotion                    string = "android.sensor.significant_motion"
	StringTypeStationaryDetect                     string = "android.sensor.stationary_detect"
	StringTypeStepCounter                          string = "android.sensor.step_counter"
	StringTypeStepDetector                         string = "android.sensor.step_detector"
	StringTypeTemperature                          string = "android.sensor.temperature"
	ActionNewPicture                               string = "android.hardware.action.NEW_PICTURE"
	ActionNewVideo                                 string = "android.hardware.action.NEW_VIDEO"
	Antibanding50hz                                string = "50hz"
	Antibanding60hz                                string = "60hz"
	AntibandingAuto                                string = "auto"
	AntibandingOff                                 string = "off"
	EffectAqua                                     string = "aqua"
	EffectBlackboard                               string = "blackboard"
	EffectMono                                     string = "mono"
	EffectNegative                                 string = "negative"
	EffectNone                                     string = "none"
	EffectPosterize                                string = "posterize"
	EffectSepia                                    string = "sepia"
	EffectSolarize                                 string = "solarize"
	EffectWhiteboard                               string = "whiteboard"
	FlashModeAuto                                  string = "auto"
	FlashModeOff                                   string = "off"
	FlashModeOn                                    string = "on"
	FlashModeRedEye                                string = "red-eye"
	FlashModeTorch                                 string = "torch"
	FocusModeAuto                                  string = "auto"
	FocusModeContinuousPicture                     string = "continuous-picture"
	FocusModeContinuousVideo                       string = "continuous-video"
	FocusModeEdof                                  string = "edof"
	FocusModeFixed                                 string = "fixed"
	FocusModeInfinity                              string = "infinity"
	FocusModeMacro                                 string = "macro"
	SceneModeAction                                string = "action"
	SceneModeAuto                                  string = "auto"
	SceneModeBarcode                               string = "barcode"
	SceneModeBeach                                 string = "beach"
	SceneModeCandlelight                           string = "candlelight"
	SceneModeFireworks                             string = "fireworks"
	SceneModeHdr                                   string = "hdr"
	SceneModeLandscape                             string = "landscape"
	SceneModeNight                                 string = "night"
	SceneModeNightPortrait                         string = "night-portrait"
	SceneModeParty                                 string = "party"
	SceneModePortrait                              string = "portrait"
	SceneModeSnow                                  string = "snow"
	SceneModeSports                                string = "sports"
	SceneModeSteadyphoto                           string = "steadyphoto"
	SceneModeSunset                                string = "sunset"
	SceneModeTheatre                               string = "theatre"
	WhiteBalanceAuto                               string = "auto"
	WhiteBalanceCloudyDaylight                     string = "cloudy-daylight"
	WhiteBalanceDaylight                           string = "daylight"
	WhiteBalanceFluorescent                        string = "fluorescent"
	WhiteBalanceIncandescent                       string = "incandescent"
	WhiteBalanceShade                              string = "shade"
	WhiteBalanceTwilight                           string = "twilight"
	WhiteBalanceWarmFluorescent                    string = "warm-fluorescent"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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