bundle

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Battery_State_name = map[int32]string{
		0: "UNKNOWN",
		1: "CHARGING",
		2: "DISCHARGING",
		3: "FULL",
	}
	Battery_State_value = map[string]int32{
		"UNKNOWN":     0,
		"CHARGING":    1,
		"DISCHARGING": 2,
		"FULL":        3,
	}
)

Enum value maps for Battery_State.

View Source
var (
	Pointer_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "STYLUS",
		2: "INVERTED_STYLUS",
		3: "TOUCH",
		4: "MOUSE",
	}
	Pointer_Type_value = map[string]int32{
		"UNKNOWN":         0,
		"STYLUS":          1,
		"INVERTED_STYLUS": 2,
		"TOUCH":           3,
		"MOUSE":           4,
	}
)

Enum value maps for Pointer_Type.

View Source
var (
	Pointer_ViewportBoundaryStatus_name = map[int32]string{
		0: "UNKNOWN_VIEWPORT_BOUNDARY_STATUS",
		1: "ENTER_VIEWPORT",
		2: "IN_VIEWPORT",
		3: "LEAVE_VIEWPORT",
	}
	Pointer_ViewportBoundaryStatus_value = map[string]int32{
		"UNKNOWN_VIEWPORT_BOUNDARY_STATUS": 0,
		"ENTER_VIEWPORT":                   1,
		"IN_VIEWPORT":                      2,
		"LEAVE_VIEWPORT":                   3,
	}
)

Enum value maps for Pointer_ViewportBoundaryStatus.

View Source
var (
	TextChange_Action_name = map[int32]string{
		0: "UNKNOWN",
		1: "CUT",
		2: "PASTE",
	}
	TextChange_Action_value = map[string]int32{
		"UNKNOWN": 0,
		"CUT":     1,
		"PASTE":   2,
	}
)

Enum value maps for TextChange_Action.

View Source
var (
	InputChange_Action_name = map[int32]string{
		0: "UNKNOWN",
		1: "CUT",
		2: "PASTE",
		3: "AUTOFILL",
		4: "REPLACEMENT",
	}
	InputChange_Action_value = map[string]int32{
		"UNKNOWN":     0,
		"CUT":         1,
		"PASTE":       2,
		"AUTOFILL":    3,
		"REPLACEMENT": 4,
	}
)

Enum value maps for InputChange_Action.

View Source
var (
	KeyPress_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "KEY_UP",
		2: "KEY_DOWN",
	}
	KeyPress_Type_value = map[string]int32{
		"UNKNOWN":  0,
		"KEY_UP":   1,
		"KEY_DOWN": 2,
	}
)

Enum value maps for KeyPress_Type.

View Source
var (
	FocusChange_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "FOCUS_GAINED",
		2: "FOCUS_LOST",
	}
	FocusChange_Type_value = map[string]int32{
		"UNKNOWN":      0,
		"FOCUS_GAINED": 1,
		"FOCUS_LOST":   2,
	}
)

Enum value maps for FocusChange_Type.

View Source
var (
	MouseWheel_WheelMode_name = map[int32]string{
		0: "UNKNOWN_WHEEL_MODE",
		1: "PIXEL",
		2: "LINE",
		3: "PAGE",
	}
	MouseWheel_WheelMode_value = map[string]int32{
		"UNKNOWN_WHEEL_MODE": 0,
		"PIXEL":              1,
		"LINE":               2,
		"PAGE":               3,
	}
)

Enum value maps for MouseWheel_WheelMode.

View Source
var (
	PermissionEvent_PermissionStatus_name = map[int32]string{
		0: "UNKNOWN_PERMISSION_STATUS",
		1: "ALLOWED",
		2: "DENIED",
		3: "UNDETERMINED_BY_USER",
		4: "REQUIRES_PROMPT_TO_DETERMINE",
		5: "SENSOR_NOT_AVAILABLE",
	}
	PermissionEvent_PermissionStatus_value = map[string]int32{
		"UNKNOWN_PERMISSION_STATUS":    0,
		"ALLOWED":                      1,
		"DENIED":                       2,
		"UNDETERMINED_BY_USER":         3,
		"REQUIRES_PROMPT_TO_DETERMINE": 4,
		"SENSOR_NOT_AVAILABLE":         5,
	}
)

Enum value maps for PermissionEvent_PermissionStatus.

View Source
var (
	ViewportSizeEvent_ViewportOrientationDirection_name = map[int32]string{
		0: "UNKNOWN_ORIENTATION_DIRECTION",
		1: "PORTRAIT_PRIMARY",
		2: "PORTRAIT_SECONDARY",
		3: "LANDSCAPE_PRIMARY",
		4: "LANDSCAPE_SECONDARY",
	}
	ViewportSizeEvent_ViewportOrientationDirection_value = map[string]int32{
		"UNKNOWN_ORIENTATION_DIRECTION": 0,
		"PORTRAIT_PRIMARY":              1,
		"PORTRAIT_SECONDARY":            2,
		"LANDSCAPE_PRIMARY":             3,
		"LANDSCAPE_SECONDARY":           4,
	}
)

Enum value maps for ViewportSizeEvent_ViewportOrientationDirection.

View Source
var (
	AppLifeCycleEvent_AppLifeCycleStatus_name = map[int32]string{
		0: "UNKNOWN_APP_LIFE_CYCLE_STATUS",
		1: "FOREGROUND",
		2: "BACKGROUND",
		3: "DESTROY",
	}
	AppLifeCycleEvent_AppLifeCycleStatus_value = map[string]int32{
		"UNKNOWN_APP_LIFE_CYCLE_STATUS": 0,
		"FOREGROUND":                    1,
		"BACKGROUND":                    2,
		"DESTROY":                       3,
	}
)

Enum value maps for AppLifeCycleEvent_AppLifeCycleStatus.

View Source
var (
	ContextMenuEvent_ContextMenuStatus_name = map[int32]string{
		0: "UNKNOWN_CONTEXT_MENU_STATUS",
		1: "OPEN",
		2: "CLOSED",
	}
	ContextMenuEvent_ContextMenuStatus_value = map[string]int32{
		"UNKNOWN_CONTEXT_MENU_STATUS": 0,
		"OPEN":                        1,
		"CLOSED":                      2,
	}
)

Enum value maps for ContextMenuEvent_ContextMenuStatus.

View Source
var File_bundle_v2_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Accelerometer

type Accelerometer struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// X-axis acceleration in SI units (m/s^2).
	X float64 `protobuf:"fixed64,2,opt,name=x,proto3" json:"x,omitempty"`
	// Y-axis acceleration in SI units (m/s^2).
	Y float64 `protobuf:"fixed64,3,opt,name=y,proto3" json:"y,omitempty"`
	// Z-axis acceleration in SI units (m/s^2).
	Z float64 `protobuf:"fixed64,4,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

An accelerometer sensor reports the acceleration of the device along the three sensor axes. The acceleration values are in SI units (m/s^2). A typical device has two types of accelerometers: one that measures the acceleration of the device including the force of gravity, and one that doesn't include gravity.

func (*Accelerometer) Descriptor deprecated

func (*Accelerometer) Descriptor() ([]byte, []int)

Deprecated: Use Accelerometer.ProtoReflect.Descriptor instead.

func (*Accelerometer) GetDeterminedAt

func (x *Accelerometer) GetDeterminedAt() int64

func (*Accelerometer) GetX

func (x *Accelerometer) GetX() float64

func (*Accelerometer) GetY

func (x *Accelerometer) GetY() float64

func (*Accelerometer) GetZ

func (x *Accelerometer) GetZ() float64

func (*Accelerometer) ProtoMessage

func (*Accelerometer) ProtoMessage()

func (*Accelerometer) ProtoReflect

func (x *Accelerometer) ProtoReflect() protoreflect.Message

func (*Accelerometer) Reset

func (x *Accelerometer) Reset()

func (*Accelerometer) String

func (x *Accelerometer) String() string

func (*Accelerometer) Validate

func (m *Accelerometer) Validate() error

Validate checks the field values on Accelerometer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Accelerometer) ValidateAll

func (m *Accelerometer) ValidateAll() error

ValidateAll checks the field values on Accelerometer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccelerometerMultiError, or nil if none found.

type AccelerometerMultiError

type AccelerometerMultiError []error

AccelerometerMultiError is an error wrapping multiple validation errors returned by Accelerometer.ValidateAll() if the designated constraints aren't met.

func (AccelerometerMultiError) AllErrors

func (m AccelerometerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccelerometerMultiError) Error

func (m AccelerometerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AccelerometerValidationError

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

AccelerometerValidationError is the validation error returned by Accelerometer.Validate if the designated constraints aren't met.

func (AccelerometerValidationError) Cause

Cause function returns cause value.

func (AccelerometerValidationError) Error

Error satisfies the builtin error interface

func (AccelerometerValidationError) ErrorName

func (e AccelerometerValidationError) ErrorName() string

ErrorName returns error name.

func (AccelerometerValidationError) Field

Field function returns field value.

func (AccelerometerValidationError) Key

Key function returns key value.

func (AccelerometerValidationError) Reason

Reason function returns reason value.

type AppLifeCycleEvent

type AppLifeCycleEvent struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// Tracks the visibility state of the application.
	AppLifeCycleStatus AppLifeCycleEvent_AppLifeCycleStatus `` /* 172-byte string literal not displayed */
	// contains filtered or unexported fields
}

Tracks the changes in the user's ability to work with the application

func (*AppLifeCycleEvent) Descriptor deprecated

func (*AppLifeCycleEvent) Descriptor() ([]byte, []int)

Deprecated: Use AppLifeCycleEvent.ProtoReflect.Descriptor instead.

func (*AppLifeCycleEvent) GetAppLifeCycleStatus

func (x *AppLifeCycleEvent) GetAppLifeCycleStatus() AppLifeCycleEvent_AppLifeCycleStatus

func (*AppLifeCycleEvent) GetDeterminedAt

func (x *AppLifeCycleEvent) GetDeterminedAt() int64

func (*AppLifeCycleEvent) ProtoMessage

func (*AppLifeCycleEvent) ProtoMessage()

func (*AppLifeCycleEvent) ProtoReflect

func (x *AppLifeCycleEvent) ProtoReflect() protoreflect.Message

func (*AppLifeCycleEvent) Reset

func (x *AppLifeCycleEvent) Reset()

func (*AppLifeCycleEvent) String

func (x *AppLifeCycleEvent) String() string

func (*AppLifeCycleEvent) Validate

func (m *AppLifeCycleEvent) Validate() error

Validate checks the field values on AppLifeCycleEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AppLifeCycleEvent) ValidateAll

func (m *AppLifeCycleEvent) ValidateAll() error

ValidateAll checks the field values on AppLifeCycleEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AppLifeCycleEventMultiError, or nil if none found.

type AppLifeCycleEventMultiError

type AppLifeCycleEventMultiError []error

AppLifeCycleEventMultiError is an error wrapping multiple validation errors returned by AppLifeCycleEvent.ValidateAll() if the designated constraints aren't met.

func (AppLifeCycleEventMultiError) AllErrors

func (m AppLifeCycleEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AppLifeCycleEventMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type AppLifeCycleEventValidationError

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

AppLifeCycleEventValidationError is the validation error returned by AppLifeCycleEvent.Validate if the designated constraints aren't met.

func (AppLifeCycleEventValidationError) Cause

Cause function returns cause value.

func (AppLifeCycleEventValidationError) Error

Error satisfies the builtin error interface

func (AppLifeCycleEventValidationError) ErrorName

ErrorName returns error name.

func (AppLifeCycleEventValidationError) Field

Field function returns field value.

func (AppLifeCycleEventValidationError) Key

Key function returns key value.

func (AppLifeCycleEventValidationError) Reason

Reason function returns reason value.

type AppLifeCycleEvent_AppLifeCycleStatus

type AppLifeCycleEvent_AppLifeCycleStatus int32

The Application status dictated by the users ability to interact with the application

const (
	// The application life cycle status cannot be determined
	AppLifeCycleEvent_UNKNOWN_APP_LIFE_CYCLE_STATUS AppLifeCycleEvent_AppLifeCycleStatus = 0
	// The application has been brought into the
	// foreground and can be interacted with by
	// the user
	AppLifeCycleEvent_FOREGROUND AppLifeCycleEvent_AppLifeCycleStatus = 1
	// The application has been sent into the
	// background and cannot be interacted with by
	// the user
	AppLifeCycleEvent_BACKGROUND AppLifeCycleEvent_AppLifeCycleStatus = 2
	// The application has been requested to be
	// destroyed
	AppLifeCycleEvent_DESTROY AppLifeCycleEvent_AppLifeCycleStatus = 3
)

func (AppLifeCycleEvent_AppLifeCycleStatus) Descriptor

func (AppLifeCycleEvent_AppLifeCycleStatus) Enum

func (AppLifeCycleEvent_AppLifeCycleStatus) EnumDescriptor deprecated

func (AppLifeCycleEvent_AppLifeCycleStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use AppLifeCycleEvent_AppLifeCycleStatus.Descriptor instead.

func (AppLifeCycleEvent_AppLifeCycleStatus) Number

func (AppLifeCycleEvent_AppLifeCycleStatus) String

func (AppLifeCycleEvent_AppLifeCycleStatus) Type

type Battery

type Battery struct {

	// Remaining battery capacity as an integer percentage of total capacity (with no fractional part).
	Capacity int32 `protobuf:"varint,1,opt,name=capacity,proto3" json:"capacity,omitempty"`
	// Current battery state (discharging, charging or full)
	State Battery_State `protobuf:"varint,2,opt,name=state,proto3,enum=v2.bundle.Battery_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*Battery) Descriptor deprecated

func (*Battery) Descriptor() ([]byte, []int)

Deprecated: Use Battery.ProtoReflect.Descriptor instead.

func (*Battery) GetCapacity

func (x *Battery) GetCapacity() int32

func (*Battery) GetState

func (x *Battery) GetState() Battery_State

func (*Battery) ProtoMessage

func (*Battery) ProtoMessage()

func (*Battery) ProtoReflect

func (x *Battery) ProtoReflect() protoreflect.Message

func (*Battery) Reset

func (x *Battery) Reset()

func (*Battery) String

func (x *Battery) String() string

func (*Battery) Validate

func (m *Battery) Validate() error

Validate checks the field values on Battery with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Battery) ValidateAll

func (m *Battery) ValidateAll() error

ValidateAll checks the field values on Battery with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatteryMultiError, or nil if none found.

type BatteryMultiError

type BatteryMultiError []error

BatteryMultiError is an error wrapping multiple validation errors returned by Battery.ValidateAll() if the designated constraints aren't met.

func (BatteryMultiError) AllErrors

func (m BatteryMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BatteryMultiError) Error

func (m BatteryMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BatteryValidationError

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

BatteryValidationError is the validation error returned by Battery.Validate if the designated constraints aren't met.

func (BatteryValidationError) Cause

func (e BatteryValidationError) Cause() error

Cause function returns cause value.

func (BatteryValidationError) Error

func (e BatteryValidationError) Error() string

Error satisfies the builtin error interface

func (BatteryValidationError) ErrorName

func (e BatteryValidationError) ErrorName() string

ErrorName returns error name.

func (BatteryValidationError) Field

func (e BatteryValidationError) Field() string

Field function returns field value.

func (BatteryValidationError) Key

func (e BatteryValidationError) Key() bool

Key function returns key value.

func (BatteryValidationError) Reason

func (e BatteryValidationError) Reason() string

Reason function returns reason value.

type Battery_State

type Battery_State int32
const (
	Battery_UNKNOWN     Battery_State = 0
	Battery_CHARGING    Battery_State = 1
	Battery_DISCHARGING Battery_State = 2
	Battery_FULL        Battery_State = 3
)

func (Battery_State) Descriptor

func (Battery_State) Enum

func (x Battery_State) Enum() *Battery_State

func (Battery_State) EnumDescriptor deprecated

func (Battery_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Battery_State.Descriptor instead.

func (Battery_State) Number

func (Battery_State) String

func (x Battery_State) String() string

func (Battery_State) Type

type Bundle

type Bundle struct {

	//*
	// Device location as a list of GPS coordinates. Granularity depends on app permissions.
	// Currently only supported through the Web SDK
	LocationData []*Location `protobuf:"bytes,1,rep,name=location_data,json=locationData,proto3" json:"location_data,omitempty"`
	// Device acceleration including the gravity component.
	AccelerometerData []*Accelerometer `protobuf:"bytes,2,rep,name=accelerometer_data,json=accelerometerData,proto3" json:"accelerometer_data,omitempty"`
	//*
	// Magnetic field as perceived by the device.
	MagnetometerData []*Magnetometer `protobuf:"bytes,3,rep,name=magnetometer_data,json=magnetometerData,proto3" json:"magnetometer_data,omitempty"`
	//*
	// Rate of rotation of the device around the three sensor axes.
	GyroscopeData []*Gyroscope `protobuf:"bytes,4,rep,name=gyroscope_data,json=gyroscopeData,proto3" json:"gyroscope_data,omitempty"`
	// Device time when the bundle was constructed.
	ClientTime *Clock `protobuf:"bytes,5,opt,name=client_time,json=clientTime,proto3" json:"client_time,omitempty"`
	// Device battery level and status data.
	Battery *Battery `protobuf:"bytes,6,opt,name=battery,proto3" json:"battery,omitempty"`
	//*
	// Device orientation reported as azimuth, pitch and roll.
	OrientationData []*Orientation `protobuf:"bytes,8,rep,name=orientation_data,json=orientationData,proto3" json:"orientation_data,omitempty"`
	// Pointer movement data as reported by the touchscreen or mouse.
	PointerData []*Pointer `protobuf:"bytes,15,rep,name=pointer_data,json=pointerData,proto3" json:"pointer_data,omitempty"`
	// Device acceleration without the gravity component.
	LinearAccelerometerData []*Accelerometer `` /* 133-byte string literal not displayed */
	// Continuous monotonic increasing index generated by the client.
	Index int32 `protobuf:"varint,18,opt,name=index,proto3" json:"index,omitempty"`
	// Text change events triggered for a target input element.
	//
	// Deprecated: Do not use.
	TextChangeData []*TextChange `protobuf:"bytes,19,rep,name=text_change_data,json=textChangeData,proto3" json:"text_change_data,omitempty"`
	// Key press events captured when available.
	KeyPressData []*KeyPress `protobuf:"bytes,20,rep,name=key_press_data,json=keyPressData,proto3" json:"key_press_data,omitempty"`
	// Loss or gain of focus for a target input element.
	FocusChangeData []*FocusChange `protobuf:"bytes,21,rep,name=focus_change_data,json=focusChangeData,proto3" json:"focus_change_data,omitempty"`
	// Scroll event data when the view is scrolled in any direction
	ViewportScrollData []*ViewportScroll `protobuf:"bytes,22,rep,name=viewport_scroll_data,json=viewportScrollData,proto3" json:"viewport_scroll_data,omitempty"`
	// Mouse Wheel scroll data reported as delta scroll values
	MouseWheelData []*MouseWheel `protobuf:"bytes,23,rep,name=mouse_wheel_data,json=mouseWheelData,proto3" json:"mouse_wheel_data,omitempty"`
	// Permissions that occur during a Session
	PermissionEvents []*PermissionEvent `protobuf:"bytes,24,rep,name=permission_events,json=permissionEvents,proto3" json:"permission_events,omitempty"`
	// Viewport Size changes that occur during a Session
	ViewportSizeEvents []*ViewportSizeEvent `protobuf:"bytes,25,rep,name=viewport_size_events,json=viewportSizeEvents,proto3" json:"viewport_size_events,omitempty"`
	// Changes to the Application Life Cycle that occur during a Session
	AppLifeCycleEvents []*AppLifeCycleEvent `protobuf:"bytes,26,rep,name=app_life_cycle_events,json=appLifeCycleEvents,proto3" json:"app_life_cycle_events,omitempty"`
	// Custom event data added by the implementer of the Moonsense SDK
	CustomEvents []*CustomEvent `protobuf:"bytes,27,rep,name=custom_events,json=customEvents,proto3" json:"custom_events,omitempty"`
	// Tracks click events on form elements
	//
	// Currently only supported through the Web SDK
	ClickData []*Click `protobuf:"bytes,28,rep,name=click_data,json=clickData,proto3" json:"click_data,omitempty"`
	// Set if this is the final bundle generated for this session. When this is
	// true, it is safe to assume that no bundles will be received with an index
	// greater than this one. It is, however, possible that bundles with an index
	// less this this one to be received as ordered delivery of bundle data is not
	// always guaranteed.
	IsFinalBundle bool `protobuf:"varint,29,opt,name=is_final_bundle,json=isFinalBundle,proto3" json:"is_final_bundle,omitempty"`
	// Map from feature_name to Feature
	Features map[string]*feature.Feature `` /* 158-byte string literal not displayed */
	// Input change events triggered for a target input element.
	InputChangeData []*InputChange `protobuf:"bytes,31,rep,name=input_change_data,json=inputChangeData,proto3" json:"input_change_data,omitempty"`
	// Events triggered by a Web Form Submission.
	//
	// This event is only recorded by the Web SDK
	FormSubmitEvents []*FormSubmitEvent `protobuf:"bytes,32,rep,name=form_submit_events,json=formSubmitEvents,proto3" json:"form_submit_events,omitempty"`
	// Events triggered by opening or closing the Context Menu
	ContextMenuEvents []*ContextMenuEvent `protobuf:"bytes,33,rep,name=context_menu_events,json=contextMenuEvents,proto3" json:"context_menu_events,omitempty"`
	// The average frame rate of the application over
	// this bundle
	FrameRateEvent *FrameRateEvent `protobuf:"bytes,34,opt,name=frame_rate_event,json=frameRateEvent,proto3" json:"frame_rate_event,omitempty"`
	// contains filtered or unexported fields
}

A Bundle is a collection of data points collected from multiple sensors on a mobile devices. All fields are optional and it's up to the client SDK to decide what data to collect and send and at what frequency.

func (*Bundle) Descriptor deprecated

func (*Bundle) Descriptor() ([]byte, []int)

Deprecated: Use Bundle.ProtoReflect.Descriptor instead.

func (*Bundle) GetAccelerometerData

func (x *Bundle) GetAccelerometerData() []*Accelerometer

func (*Bundle) GetAppLifeCycleEvents

func (x *Bundle) GetAppLifeCycleEvents() []*AppLifeCycleEvent

func (*Bundle) GetBattery

func (x *Bundle) GetBattery() *Battery

func (*Bundle) GetClickData

func (x *Bundle) GetClickData() []*Click

func (*Bundle) GetClientTime

func (x *Bundle) GetClientTime() *Clock

func (*Bundle) GetContextMenuEvents added in v0.2.0

func (x *Bundle) GetContextMenuEvents() []*ContextMenuEvent

func (*Bundle) GetCustomEvents

func (x *Bundle) GetCustomEvents() []*CustomEvent

func (*Bundle) GetFeatures

func (x *Bundle) GetFeatures() map[string]*feature.Feature

func (*Bundle) GetFocusChangeData

func (x *Bundle) GetFocusChangeData() []*FocusChange

func (*Bundle) GetFormSubmitEvents

func (x *Bundle) GetFormSubmitEvents() []*FormSubmitEvent

func (*Bundle) GetFrameRateEvent added in v0.2.0

func (x *Bundle) GetFrameRateEvent() *FrameRateEvent

func (*Bundle) GetGyroscopeData

func (x *Bundle) GetGyroscopeData() []*Gyroscope

func (*Bundle) GetIndex

func (x *Bundle) GetIndex() int32

func (*Bundle) GetInputChangeData

func (x *Bundle) GetInputChangeData() []*InputChange

func (*Bundle) GetIsFinalBundle

func (x *Bundle) GetIsFinalBundle() bool

func (*Bundle) GetKeyPressData

func (x *Bundle) GetKeyPressData() []*KeyPress

func (*Bundle) GetLinearAccelerometerData

func (x *Bundle) GetLinearAccelerometerData() []*Accelerometer

func (*Bundle) GetLocationData

func (x *Bundle) GetLocationData() []*Location

func (*Bundle) GetMagnetometerData

func (x *Bundle) GetMagnetometerData() []*Magnetometer

func (*Bundle) GetMouseWheelData

func (x *Bundle) GetMouseWheelData() []*MouseWheel

func (*Bundle) GetOrientationData

func (x *Bundle) GetOrientationData() []*Orientation

func (*Bundle) GetPermissionEvents

func (x *Bundle) GetPermissionEvents() []*PermissionEvent

func (*Bundle) GetPointerData

func (x *Bundle) GetPointerData() []*Pointer

func (*Bundle) GetTextChangeData deprecated

func (x *Bundle) GetTextChangeData() []*TextChange

Deprecated: Do not use.

func (*Bundle) GetViewportScrollData

func (x *Bundle) GetViewportScrollData() []*ViewportScroll

func (*Bundle) GetViewportSizeEvents

func (x *Bundle) GetViewportSizeEvents() []*ViewportSizeEvent

func (*Bundle) ProtoMessage

func (*Bundle) ProtoMessage()

func (*Bundle) ProtoReflect

func (x *Bundle) ProtoReflect() protoreflect.Message

func (*Bundle) Reset

func (x *Bundle) Reset()

func (*Bundle) String

func (x *Bundle) String() string

func (*Bundle) Validate

func (m *Bundle) Validate() error

Validate checks the field values on Bundle with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Bundle) ValidateAll

func (m *Bundle) ValidateAll() error

ValidateAll checks the field values on Bundle with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BundleMultiError, or nil if none found.

type BundleMultiError

type BundleMultiError []error

BundleMultiError is an error wrapping multiple validation errors returned by Bundle.ValidateAll() if the designated constraints aren't met.

func (BundleMultiError) AllErrors

func (m BundleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BundleMultiError) Error

func (m BundleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BundleValidationError

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

BundleValidationError is the validation error returned by Bundle.Validate if the designated constraints aren't met.

func (BundleValidationError) Cause

func (e BundleValidationError) Cause() error

Cause function returns cause value.

func (BundleValidationError) Error

func (e BundleValidationError) Error() string

Error satisfies the builtin error interface

func (BundleValidationError) ErrorName

func (e BundleValidationError) ErrorName() string

ErrorName returns error name.

func (BundleValidationError) Field

func (e BundleValidationError) Field() string

Field function returns field value.

func (BundleValidationError) Key

func (e BundleValidationError) Key() bool

Key function returns key value.

func (BundleValidationError) Reason

func (e BundleValidationError) Reason() string

Reason function returns reason value.

type Click

type Click struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// Coordinate of the position of the pointer, in logical pixels in the global coordinate space.
	Position *Offset2D `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// Represents the element that was clicked.
	Target *TargetElement `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Represents a message that is fired everytime a tracked UI element is clicked by the user

This element is only available through the Web SDK and is currently restricted to only monitoring form elements

func (*Click) Descriptor deprecated

func (*Click) Descriptor() ([]byte, []int)

Deprecated: Use Click.ProtoReflect.Descriptor instead.

func (*Click) GetDeterminedAt

func (x *Click) GetDeterminedAt() int64

func (*Click) GetPosition

func (x *Click) GetPosition() *Offset2D

func (*Click) GetTarget

func (x *Click) GetTarget() *TargetElement

func (*Click) ProtoMessage

func (*Click) ProtoMessage()

func (*Click) ProtoReflect

func (x *Click) ProtoReflect() protoreflect.Message

func (*Click) Reset

func (x *Click) Reset()

func (*Click) String

func (x *Click) String() string

func (*Click) Validate

func (m *Click) Validate() error

Validate checks the field values on Click with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Click) ValidateAll

func (m *Click) ValidateAll() error

ValidateAll checks the field values on Click with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClickMultiError, or nil if none found.

type ClickMultiError

type ClickMultiError []error

ClickMultiError is an error wrapping multiple validation errors returned by Click.ValidateAll() if the designated constraints aren't met.

func (ClickMultiError) AllErrors

func (m ClickMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClickMultiError) Error

func (m ClickMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ClickValidationError

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

ClickValidationError is the validation error returned by Click.Validate if the designated constraints aren't met.

func (ClickValidationError) Cause

func (e ClickValidationError) Cause() error

Cause function returns cause value.

func (ClickValidationError) Error

func (e ClickValidationError) Error() string

Error satisfies the builtin error interface

func (ClickValidationError) ErrorName

func (e ClickValidationError) ErrorName() string

ErrorName returns error name.

func (ClickValidationError) Field

func (e ClickValidationError) Field() string

Field function returns field value.

func (ClickValidationError) Key

func (e ClickValidationError) Key() bool

Key function returns key value.

func (ClickValidationError) Reason

func (e ClickValidationError) Reason() string

Reason function returns reason value.

type Clock

type Clock struct {

	// Standard wall clock (time and date) expressed in milliseconds since the epoch.
	// This is controlled by the user or the phone network and it may jump backwards
	// or forwards unpredictably. This clock should only be used when correspondence
	// with real-world dates and times is important.
	WallTimeMillis int64 `protobuf:"varint,1,opt,name=wall_time_millis,json=wallTimeMillis,proto3" json:"wall_time_millis,omitempty"`
	// This clock MUST be guaranteed to be monotonic, and is suitable for interval timing
	// when the interval does not span device sleep. This clock stops when the system enters
	// deep sleep (CPU off, display dark, device waiting for external input), but is not
	// affected by clock scaling, idle, or other power saving mechanisms.
	TimerMillis int64 `protobuf:"varint,2,opt,name=timer_millis,json=timerMillis,proto3" json:"timer_millis,omitempty"`
	// This clock MUST be monotonic, and needs to continue to tick even when the CPU is in
	// power saving modes, so is the recommend basis for general purpose interval timing.
	TimerRealtimeMillis int64 `protobuf:"varint,3,opt,name=timer_realtime_millis,json=timerRealtimeMillis,proto3" json:"timer_realtime_millis,omitempty"`
	// contains filtered or unexported fields
}

Neither Android, nor iOS provide a trusted time source. The best we can do is record monotonic and non-monotonic time coordinates and rely primarily on relative time measurements when computing features to be used to train models.

func (*Clock) Descriptor deprecated

func (*Clock) Descriptor() ([]byte, []int)

Deprecated: Use Clock.ProtoReflect.Descriptor instead.

func (*Clock) GetTimerMillis

func (x *Clock) GetTimerMillis() int64

func (*Clock) GetTimerRealtimeMillis

func (x *Clock) GetTimerRealtimeMillis() int64

func (*Clock) GetWallTimeMillis

func (x *Clock) GetWallTimeMillis() int64

func (*Clock) ProtoMessage

func (*Clock) ProtoMessage()

func (*Clock) ProtoReflect

func (x *Clock) ProtoReflect() protoreflect.Message

func (*Clock) Reset

func (x *Clock) Reset()

func (*Clock) String

func (x *Clock) String() string

func (*Clock) Validate

func (m *Clock) Validate() error

Validate checks the field values on Clock with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Clock) ValidateAll

func (m *Clock) ValidateAll() error

ValidateAll checks the field values on Clock with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClockMultiError, or nil if none found.

type ClockMultiError

type ClockMultiError []error

ClockMultiError is an error wrapping multiple validation errors returned by Clock.ValidateAll() if the designated constraints aren't met.

func (ClockMultiError) AllErrors

func (m ClockMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClockMultiError) Error

func (m ClockMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ClockValidationError

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

ClockValidationError is the validation error returned by Clock.Validate if the designated constraints aren't met.

func (ClockValidationError) Cause

func (e ClockValidationError) Cause() error

Cause function returns cause value.

func (ClockValidationError) Error

func (e ClockValidationError) Error() string

Error satisfies the builtin error interface

func (ClockValidationError) ErrorName

func (e ClockValidationError) ErrorName() string

ErrorName returns error name.

func (ClockValidationError) Field

func (e ClockValidationError) Field() string

Field function returns field value.

func (ClockValidationError) Key

func (e ClockValidationError) Key() bool

Key function returns key value.

func (ClockValidationError) Reason

func (e ClockValidationError) Reason() string

Reason function returns reason value.

type ClosedRange

type ClosedRange struct {

	// The smallest value in the range (inclusive)
	LowerBound float64 `protobuf:"fixed64,1,opt,name=lower_bound,json=lowerBound,proto3" json:"lower_bound,omitempty"`
	// The largest value in the range (inclusive)
	UpperBound float64 `protobuf:"fixed64,2,opt,name=upper_bound,json=upperBound,proto3" json:"upper_bound,omitempty"`
	// contains filtered or unexported fields
}

A range (or interval) defines the boundaries around a span of values; ; for example, "integers from 1 to 100 inclusive."

func (*ClosedRange) Descriptor deprecated

func (*ClosedRange) Descriptor() ([]byte, []int)

Deprecated: Use ClosedRange.ProtoReflect.Descriptor instead.

func (*ClosedRange) GetLowerBound

func (x *ClosedRange) GetLowerBound() float64

func (*ClosedRange) GetUpperBound

func (x *ClosedRange) GetUpperBound() float64

func (*ClosedRange) ProtoMessage

func (*ClosedRange) ProtoMessage()

func (*ClosedRange) ProtoReflect

func (x *ClosedRange) ProtoReflect() protoreflect.Message

func (*ClosedRange) Reset

func (x *ClosedRange) Reset()

func (*ClosedRange) String

func (x *ClosedRange) String() string

func (*ClosedRange) Validate

func (m *ClosedRange) Validate() error

Validate checks the field values on ClosedRange with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ClosedRange) ValidateAll

func (m *ClosedRange) ValidateAll() error

ValidateAll checks the field values on ClosedRange with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClosedRangeMultiError, or nil if none found.

type ClosedRangeMultiError

type ClosedRangeMultiError []error

ClosedRangeMultiError is an error wrapping multiple validation errors returned by ClosedRange.ValidateAll() if the designated constraints aren't met.

func (ClosedRangeMultiError) AllErrors

func (m ClosedRangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClosedRangeMultiError) Error

func (m ClosedRangeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ClosedRangeValidationError

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

ClosedRangeValidationError is the validation error returned by ClosedRange.Validate if the designated constraints aren't met.

func (ClosedRangeValidationError) Cause

Cause function returns cause value.

func (ClosedRangeValidationError) Error

Error satisfies the builtin error interface

func (ClosedRangeValidationError) ErrorName

func (e ClosedRangeValidationError) ErrorName() string

ErrorName returns error name.

func (ClosedRangeValidationError) Field

Field function returns field value.

func (ClosedRangeValidationError) Key

Key function returns key value.

func (ClosedRangeValidationError) Reason

Reason function returns reason value.

type ContextMenuEvent added in v0.2.0

type ContextMenuEvent struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The status of the context menu
	ContextMenuStatus ContextMenuEvent_ContextMenuStatus `` /* 165-byte string literal not displayed */
	// Represents the field the context menu is interacting with.
	//
	// The target is only available on the Web SDK
	Target *TargetElement `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

An event that represents an action on a context menu inside an application.

func (*ContextMenuEvent) Descriptor deprecated added in v0.2.0

func (*ContextMenuEvent) Descriptor() ([]byte, []int)

Deprecated: Use ContextMenuEvent.ProtoReflect.Descriptor instead.

func (*ContextMenuEvent) GetContextMenuStatus added in v0.2.0

func (x *ContextMenuEvent) GetContextMenuStatus() ContextMenuEvent_ContextMenuStatus

func (*ContextMenuEvent) GetDeterminedAt added in v0.2.0

func (x *ContextMenuEvent) GetDeterminedAt() int64

func (*ContextMenuEvent) GetTarget added in v0.2.0

func (x *ContextMenuEvent) GetTarget() *TargetElement

func (*ContextMenuEvent) ProtoMessage added in v0.2.0

func (*ContextMenuEvent) ProtoMessage()

func (*ContextMenuEvent) ProtoReflect added in v0.2.0

func (x *ContextMenuEvent) ProtoReflect() protoreflect.Message

func (*ContextMenuEvent) Reset added in v0.2.0

func (x *ContextMenuEvent) Reset()

func (*ContextMenuEvent) String added in v0.2.0

func (x *ContextMenuEvent) String() string

func (*ContextMenuEvent) Validate added in v0.2.0

func (m *ContextMenuEvent) Validate() error

Validate checks the field values on ContextMenuEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ContextMenuEvent) ValidateAll added in v0.2.0

func (m *ContextMenuEvent) ValidateAll() error

ValidateAll checks the field values on ContextMenuEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContextMenuEventMultiError, or nil if none found.

type ContextMenuEventMultiError added in v0.2.0

type ContextMenuEventMultiError []error

ContextMenuEventMultiError is an error wrapping multiple validation errors returned by ContextMenuEvent.ValidateAll() if the designated constraints aren't met.

func (ContextMenuEventMultiError) AllErrors added in v0.2.0

func (m ContextMenuEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ContextMenuEventMultiError) Error added in v0.2.0

Error returns a concatenation of all the error messages it wraps.

type ContextMenuEventValidationError added in v0.2.0

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

ContextMenuEventValidationError is the validation error returned by ContextMenuEvent.Validate if the designated constraints aren't met.

func (ContextMenuEventValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (ContextMenuEventValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (ContextMenuEventValidationError) ErrorName added in v0.2.0

ErrorName returns error name.

func (ContextMenuEventValidationError) Field added in v0.2.0

Field function returns field value.

func (ContextMenuEventValidationError) Key added in v0.2.0

Key function returns key value.

func (ContextMenuEventValidationError) Reason added in v0.2.0

Reason function returns reason value.

type ContextMenuEvent_ContextMenuStatus added in v0.2.0

type ContextMenuEvent_ContextMenuStatus int32

The status of the context menu

const (
	// The context menu status cannot be determined
	ContextMenuEvent_UNKNOWN_CONTEXT_MENU_STATUS ContextMenuEvent_ContextMenuStatus = 0
	// The context menu has been opened
	ContextMenuEvent_OPEN ContextMenuEvent_ContextMenuStatus = 1
	// The context menu has been closed
	//
	// This status is not available on the Web SDK
	ContextMenuEvent_CLOSED ContextMenuEvent_ContextMenuStatus = 2
)

func (ContextMenuEvent_ContextMenuStatus) Descriptor added in v0.2.0

func (ContextMenuEvent_ContextMenuStatus) Enum added in v0.2.0

func (ContextMenuEvent_ContextMenuStatus) EnumDescriptor deprecated added in v0.2.0

func (ContextMenuEvent_ContextMenuStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContextMenuEvent_ContextMenuStatus.Descriptor instead.

func (ContextMenuEvent_ContextMenuStatus) Number added in v0.2.0

func (ContextMenuEvent_ContextMenuStatus) String added in v0.2.0

func (ContextMenuEvent_ContextMenuStatus) Type added in v0.2.0

type CustomEvent

type CustomEvent struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The event type or a category for the event. E.g. "targetElementCreated"
	//
	// Field constrained to 50 characters
	EventName string `protobuf:"bytes,2,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
	// A map of key/value pairs to record custom data associated with
	// the captured event.
	//
	// Key Field constrained to 50 characters
	// Value Field constrained to 500 characters
	Properties map[string]string `` /* 161-byte string literal not displayed */
	// An optional reference key for associating this event across a session. E.g. the
	// unique id for a targetElement.
	//
	// Field constrained to 50 characters
	EventKey string `protobuf:"bytes,4,opt,name=event_key,json=eventKey,proto3" json:"event_key,omitempty"`
	// contains filtered or unexported fields
}

A timestamped custom data store for capturing categorized data during a session. These events provide point in time information generated by the implementer of the Moonsense SDK

func (*CustomEvent) Descriptor deprecated

func (*CustomEvent) Descriptor() ([]byte, []int)

Deprecated: Use CustomEvent.ProtoReflect.Descriptor instead.

func (*CustomEvent) GetDeterminedAt

func (x *CustomEvent) GetDeterminedAt() int64

func (*CustomEvent) GetEventKey

func (x *CustomEvent) GetEventKey() string

func (*CustomEvent) GetEventName

func (x *CustomEvent) GetEventName() string

func (*CustomEvent) GetProperties

func (x *CustomEvent) GetProperties() map[string]string

func (*CustomEvent) ProtoMessage

func (*CustomEvent) ProtoMessage()

func (*CustomEvent) ProtoReflect

func (x *CustomEvent) ProtoReflect() protoreflect.Message

func (*CustomEvent) Reset

func (x *CustomEvent) Reset()

func (*CustomEvent) String

func (x *CustomEvent) String() string

func (*CustomEvent) Validate

func (m *CustomEvent) Validate() error

Validate checks the field values on CustomEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CustomEvent) ValidateAll

func (m *CustomEvent) ValidateAll() error

ValidateAll checks the field values on CustomEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CustomEventMultiError, or nil if none found.

type CustomEventMultiError

type CustomEventMultiError []error

CustomEventMultiError is an error wrapping multiple validation errors returned by CustomEvent.ValidateAll() if the designated constraints aren't met.

func (CustomEventMultiError) AllErrors

func (m CustomEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CustomEventMultiError) Error

func (m CustomEventMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CustomEventValidationError

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

CustomEventValidationError is the validation error returned by CustomEvent.Validate if the designated constraints aren't met.

func (CustomEventValidationError) Cause

Cause function returns cause value.

func (CustomEventValidationError) Error

Error satisfies the builtin error interface

func (CustomEventValidationError) ErrorName

func (e CustomEventValidationError) ErrorName() string

ErrorName returns error name.

func (CustomEventValidationError) Field

Field function returns field value.

func (CustomEventValidationError) Key

Key function returns key value.

func (CustomEventValidationError) Reason

Reason function returns reason value.

type FocusChange

type FocusChange struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The type of focus event that was detected.
	Type FocusChange_Type `protobuf:"varint,2,opt,name=type,proto3,enum=v2.bundle.FocusChange_Type" json:"type,omitempty"`
	// Represents the target field that detected the key event.
	Target *TargetElement `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Represents a loss or gain of Focus for a target element.

func (*FocusChange) Descriptor deprecated

func (*FocusChange) Descriptor() ([]byte, []int)

Deprecated: Use FocusChange.ProtoReflect.Descriptor instead.

func (*FocusChange) GetDeterminedAt

func (x *FocusChange) GetDeterminedAt() int64

func (*FocusChange) GetTarget

func (x *FocusChange) GetTarget() *TargetElement

func (*FocusChange) GetType

func (x *FocusChange) GetType() FocusChange_Type

func (*FocusChange) ProtoMessage

func (*FocusChange) ProtoMessage()

func (*FocusChange) ProtoReflect

func (x *FocusChange) ProtoReflect() protoreflect.Message

func (*FocusChange) Reset

func (x *FocusChange) Reset()

func (*FocusChange) String

func (x *FocusChange) String() string

func (*FocusChange) Validate

func (m *FocusChange) Validate() error

Validate checks the field values on FocusChange with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FocusChange) ValidateAll

func (m *FocusChange) ValidateAll() error

ValidateAll checks the field values on FocusChange with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FocusChangeMultiError, or nil if none found.

type FocusChangeMultiError

type FocusChangeMultiError []error

FocusChangeMultiError is an error wrapping multiple validation errors returned by FocusChange.ValidateAll() if the designated constraints aren't met.

func (FocusChangeMultiError) AllErrors

func (m FocusChangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FocusChangeMultiError) Error

func (m FocusChangeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FocusChangeValidationError

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

FocusChangeValidationError is the validation error returned by FocusChange.Validate if the designated constraints aren't met.

func (FocusChangeValidationError) Cause

Cause function returns cause value.

func (FocusChangeValidationError) Error

Error satisfies the builtin error interface

func (FocusChangeValidationError) ErrorName

func (e FocusChangeValidationError) ErrorName() string

ErrorName returns error name.

func (FocusChangeValidationError) Field

Field function returns field value.

func (FocusChangeValidationError) Key

Key function returns key value.

func (FocusChangeValidationError) Reason

Reason function returns reason value.

type FocusChange_Type

type FocusChange_Type int32
const (
	FocusChange_UNKNOWN      FocusChange_Type = 0
	FocusChange_FOCUS_GAINED FocusChange_Type = 1
	FocusChange_FOCUS_LOST   FocusChange_Type = 2
)

func (FocusChange_Type) Descriptor

func (FocusChange_Type) Enum

func (FocusChange_Type) EnumDescriptor deprecated

func (FocusChange_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use FocusChange_Type.Descriptor instead.

func (FocusChange_Type) Number

func (FocusChange_Type) String

func (x FocusChange_Type) String() string

func (FocusChange_Type) Type

type FormSubmitEvent

type FormSubmitEvent struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The element that requested the submit event
	Submitter *TargetElement `protobuf:"bytes,2,opt,name=submitter,proto3" json:"submitter,omitempty"`
	// The element being submitted
	Target *TargetElement `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

An event that represents a form submission inside a webpage.

This event is specific to the Web SDK

func (*FormSubmitEvent) Descriptor deprecated

func (*FormSubmitEvent) Descriptor() ([]byte, []int)

Deprecated: Use FormSubmitEvent.ProtoReflect.Descriptor instead.

func (*FormSubmitEvent) GetDeterminedAt

func (x *FormSubmitEvent) GetDeterminedAt() int64

func (*FormSubmitEvent) GetSubmitter

func (x *FormSubmitEvent) GetSubmitter() *TargetElement

func (*FormSubmitEvent) GetTarget

func (x *FormSubmitEvent) GetTarget() *TargetElement

func (*FormSubmitEvent) ProtoMessage

func (*FormSubmitEvent) ProtoMessage()

func (*FormSubmitEvent) ProtoReflect

func (x *FormSubmitEvent) ProtoReflect() protoreflect.Message

func (*FormSubmitEvent) Reset

func (x *FormSubmitEvent) Reset()

func (*FormSubmitEvent) String

func (x *FormSubmitEvent) String() string

func (*FormSubmitEvent) Validate

func (m *FormSubmitEvent) Validate() error

Validate checks the field values on FormSubmitEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FormSubmitEvent) ValidateAll

func (m *FormSubmitEvent) ValidateAll() error

ValidateAll checks the field values on FormSubmitEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FormSubmitEventMultiError, or nil if none found.

type FormSubmitEventMultiError

type FormSubmitEventMultiError []error

FormSubmitEventMultiError is an error wrapping multiple validation errors returned by FormSubmitEvent.ValidateAll() if the designated constraints aren't met.

func (FormSubmitEventMultiError) AllErrors

func (m FormSubmitEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FormSubmitEventMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FormSubmitEventValidationError

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

FormSubmitEventValidationError is the validation error returned by FormSubmitEvent.Validate if the designated constraints aren't met.

func (FormSubmitEventValidationError) Cause

Cause function returns cause value.

func (FormSubmitEventValidationError) Error

Error satisfies the builtin error interface

func (FormSubmitEventValidationError) ErrorName

func (e FormSubmitEventValidationError) ErrorName() string

ErrorName returns error name.

func (FormSubmitEventValidationError) Field

Field function returns field value.

func (FormSubmitEventValidationError) Key

Key function returns key value.

func (FormSubmitEventValidationError) Reason

Reason function returns reason value.

type FrameRateEvent added in v0.2.0

type FrameRateEvent struct {

	// Time of event capture in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The average frame rate of the application across the given bundle
	FramesPerSecond float32 `protobuf:"fixed32,2,opt,name=frames_per_second,json=framesPerSecond,proto3" json:"frames_per_second,omitempty"`
	// contains filtered or unexported fields
}

Captures the average frame rate of the application across the given bundle

func (*FrameRateEvent) Descriptor deprecated added in v0.2.0

func (*FrameRateEvent) Descriptor() ([]byte, []int)

Deprecated: Use FrameRateEvent.ProtoReflect.Descriptor instead.

func (*FrameRateEvent) GetDeterminedAt added in v0.2.0

func (x *FrameRateEvent) GetDeterminedAt() int64

func (*FrameRateEvent) GetFramesPerSecond added in v0.2.0

func (x *FrameRateEvent) GetFramesPerSecond() float32

func (*FrameRateEvent) ProtoMessage added in v0.2.0

func (*FrameRateEvent) ProtoMessage()

func (*FrameRateEvent) ProtoReflect added in v0.2.0

func (x *FrameRateEvent) ProtoReflect() protoreflect.Message

func (*FrameRateEvent) Reset added in v0.2.0

func (x *FrameRateEvent) Reset()

func (*FrameRateEvent) String added in v0.2.0

func (x *FrameRateEvent) String() string

func (*FrameRateEvent) Validate added in v0.2.0

func (m *FrameRateEvent) Validate() error

Validate checks the field values on FrameRateEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FrameRateEvent) ValidateAll added in v0.2.0

func (m *FrameRateEvent) ValidateAll() error

ValidateAll checks the field values on FrameRateEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FrameRateEventMultiError, or nil if none found.

type FrameRateEventMultiError added in v0.2.0

type FrameRateEventMultiError []error

FrameRateEventMultiError is an error wrapping multiple validation errors returned by FrameRateEvent.ValidateAll() if the designated constraints aren't met.

func (FrameRateEventMultiError) AllErrors added in v0.2.0

func (m FrameRateEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FrameRateEventMultiError) Error added in v0.2.0

func (m FrameRateEventMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FrameRateEventValidationError added in v0.2.0

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

FrameRateEventValidationError is the validation error returned by FrameRateEvent.Validate if the designated constraints aren't met.

func (FrameRateEventValidationError) Cause added in v0.2.0

Cause function returns cause value.

func (FrameRateEventValidationError) Error added in v0.2.0

Error satisfies the builtin error interface

func (FrameRateEventValidationError) ErrorName added in v0.2.0

func (e FrameRateEventValidationError) ErrorName() string

ErrorName returns error name.

func (FrameRateEventValidationError) Field added in v0.2.0

Field function returns field value.

func (FrameRateEventValidationError) Key added in v0.2.0

Key function returns key value.

func (FrameRateEventValidationError) Reason added in v0.2.0

Reason function returns reason value.

type Gyroscope

type Gyroscope struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// Rotation can be positive or negative.
	// X-axis acceleration in radians per second.
	// When looking at the bottom of the device with the screen facing up, tilting
	// the top edge of the device towards the sky reports positive values.
	X float64 `protobuf:"fixed64,2,opt,name=x,proto3" json:"x,omitempty"`
	// Y-axis acceleration in radians per second.
	// When looking at the bottom of the device with the screen facing up, tilting
	// the left edge of the device towards the sky reports positive values.
	Y float64 `protobuf:"fixed64,3,opt,name=y,proto3" json:"y,omitempty"`
	// Z-axis acceleration in radians per second.
	// When looking at the bottom of the device with the screen facing up, rotating
	// the top edge of the device in a counter clockwise direction reports positive values.
	Z float64 `protobuf:"fixed64,4,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

* Captures the rate of rotation of the device in radians around the x, y and z axis.

func (*Gyroscope) Descriptor deprecated

func (*Gyroscope) Descriptor() ([]byte, []int)

Deprecated: Use Gyroscope.ProtoReflect.Descriptor instead.

func (*Gyroscope) GetDeterminedAt

func (x *Gyroscope) GetDeterminedAt() int64

func (*Gyroscope) GetX

func (x *Gyroscope) GetX() float64

func (*Gyroscope) GetY

func (x *Gyroscope) GetY() float64

func (*Gyroscope) GetZ

func (x *Gyroscope) GetZ() float64

func (*Gyroscope) ProtoMessage

func (*Gyroscope) ProtoMessage()

func (*Gyroscope) ProtoReflect

func (x *Gyroscope) ProtoReflect() protoreflect.Message

func (*Gyroscope) Reset

func (x *Gyroscope) Reset()

func (*Gyroscope) String

func (x *Gyroscope) String() string

func (*Gyroscope) Validate

func (m *Gyroscope) Validate() error

Validate checks the field values on Gyroscope with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Gyroscope) ValidateAll

func (m *Gyroscope) ValidateAll() error

ValidateAll checks the field values on Gyroscope with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GyroscopeMultiError, or nil if none found.

type GyroscopeMultiError

type GyroscopeMultiError []error

GyroscopeMultiError is an error wrapping multiple validation errors returned by Gyroscope.ValidateAll() if the designated constraints aren't met.

func (GyroscopeMultiError) AllErrors

func (m GyroscopeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GyroscopeMultiError) Error

func (m GyroscopeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GyroscopeValidationError

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

GyroscopeValidationError is the validation error returned by Gyroscope.Validate if the designated constraints aren't met.

func (GyroscopeValidationError) Cause

func (e GyroscopeValidationError) Cause() error

Cause function returns cause value.

func (GyroscopeValidationError) Error

func (e GyroscopeValidationError) Error() string

Error satisfies the builtin error interface

func (GyroscopeValidationError) ErrorName

func (e GyroscopeValidationError) ErrorName() string

ErrorName returns error name.

func (GyroscopeValidationError) Field

func (e GyroscopeValidationError) Field() string

Field function returns field value.

func (GyroscopeValidationError) Key

Key function returns key value.

func (GyroscopeValidationError) Reason

func (e GyroscopeValidationError) Reason() string

Reason function returns reason value.

type InputChange

type InputChange struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// Represents the target input field that detected the input change event.
	Target *TargetElement `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// This value represents whether the input field represented by target(see above)
	// is in focus or not.
	Focus bool `protobuf:"varint,3,opt,name=focus,proto3" json:"focus,omitempty"`
	// Provides a snapshot of the value contained in the input field represented by the target
	// at the determined time. Note that the caller can infer the characters based on
	// how this value changes over time. For privacy purposes this string
	// is masked and does not correspond to the actual characters.
	// This value is unmasked in the case of checkboxes which are represented as
	// the string values of "true" or "false"
	MaskedText string `protobuf:"bytes,4,opt,name=masked_text,json=maskedText,proto3" json:"masked_text,omitempty"`
	// Returns true if the captured length of the value exceeds the maximum allowable limit. In
	// cases like these the value is truncated and this flag returns a true.
	TruncatedText bool `protobuf:"varint,5,opt,name=truncated_text,json=truncatedText,proto3" json:"truncated_text,omitempty"`
	// Determines if the input change was a result of a specific action.
	Action InputChange_Action `protobuf:"varint,6,opt,name=action,proto3,enum=v2.bundle.InputChange_Action" json:"action,omitempty"`
	// contains filtered or unexported fields
}

Represents a message that is fired everytime a change event happens on a specified input target.

func (*InputChange) Descriptor deprecated

func (*InputChange) Descriptor() ([]byte, []int)

Deprecated: Use InputChange.ProtoReflect.Descriptor instead.

func (*InputChange) GetAction

func (x *InputChange) GetAction() InputChange_Action

func (*InputChange) GetDeterminedAt

func (x *InputChange) GetDeterminedAt() int64

func (*InputChange) GetFocus

func (x *InputChange) GetFocus() bool

func (*InputChange) GetMaskedText

func (x *InputChange) GetMaskedText() string

func (*InputChange) GetTarget

func (x *InputChange) GetTarget() *TargetElement

func (*InputChange) GetTruncatedText

func (x *InputChange) GetTruncatedText() bool

func (*InputChange) ProtoMessage

func (*InputChange) ProtoMessage()

func (*InputChange) ProtoReflect

func (x *InputChange) ProtoReflect() protoreflect.Message

func (*InputChange) Reset

func (x *InputChange) Reset()

func (*InputChange) String

func (x *InputChange) String() string

func (*InputChange) Validate

func (m *InputChange) Validate() error

Validate checks the field values on InputChange with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*InputChange) ValidateAll

func (m *InputChange) ValidateAll() error

ValidateAll checks the field values on InputChange with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InputChangeMultiError, or nil if none found.

type InputChangeMultiError

type InputChangeMultiError []error

InputChangeMultiError is an error wrapping multiple validation errors returned by InputChange.ValidateAll() if the designated constraints aren't met.

func (InputChangeMultiError) AllErrors

func (m InputChangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (InputChangeMultiError) Error

func (m InputChangeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type InputChangeValidationError

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

InputChangeValidationError is the validation error returned by InputChange.Validate if the designated constraints aren't met.

func (InputChangeValidationError) Cause

Cause function returns cause value.

func (InputChangeValidationError) Error

Error satisfies the builtin error interface

func (InputChangeValidationError) ErrorName

func (e InputChangeValidationError) ErrorName() string

ErrorName returns error name.

func (InputChangeValidationError) Field

Field function returns field value.

func (InputChangeValidationError) Key

Key function returns key value.

func (InputChangeValidationError) Reason

Reason function returns reason value.

type InputChange_Action

type InputChange_Action int32
const (
	// Encompasses all the other types of text change events
	// including typing, swipe, etc.
	InputChange_UNKNOWN InputChange_Action = 0
	// The data was cut from the input and added to the clipboard
	InputChange_CUT InputChange_Action = 1
	// The data was pasted from the clipboard into the input
	InputChange_PASTE InputChange_Action = 2
	// The data was filled in by the browser. E.g. username and password
	InputChange_AUTOFILL InputChange_Action = 3
	// The data was replaced by the browser. E.g. spellcheck correction
	InputChange_REPLACEMENT InputChange_Action = 4
)

func (InputChange_Action) Descriptor

func (InputChange_Action) Enum

func (InputChange_Action) EnumDescriptor deprecated

func (InputChange_Action) EnumDescriptor() ([]byte, []int)

Deprecated: Use InputChange_Action.Descriptor instead.

func (InputChange_Action) Number

func (InputChange_Action) String

func (x InputChange_Action) String() string

func (InputChange_Action) Type

type KeyPress

type KeyPress struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The type of key event that was detected.
	Type KeyPress_Type `protobuf:"varint,2,opt,name=type,proto3,enum=v2.bundle.KeyPress_Type" json:"type,omitempty"`
	// Provides a string value for a special, logical or modifier key
	// that was pressed, for eg. 'Home', 'Left Shift' etc.
	// The value reflects the actual key that was pressed and is therefore not masked.
	// There is a possibility that the value returned by this field differs
	// across platforms.
	SpecialKey string `protobuf:"bytes,3,opt,name=special_key,json=specialKey,proto3" json:"special_key,omitempty"`
	// The unicode value for the key pressed. This field is masked for privacy
	// reasons and does not correspond to the exact key that was pressed.
	// The pressed key is guaranteed to be a unicode character. Defaults to
	// '0' if unavailable.
	MaskedKey int32 `protobuf:"varint,4,opt,name=masked_key,json=maskedKey,proto3" json:"masked_key,omitempty"`
	// Represents the target field that detected the key event.
	Target *TargetElement `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"`
	// Flag to specify the event as including an 'Alt Key'
	AltKey bool `protobuf:"varint,6,opt,name=alt_key,json=altKey,proto3" json:"alt_key,omitempty"`
	// Flag to specify the event as including an 'Control (Ctrl) Key'
	ControlKey bool `protobuf:"varint,7,opt,name=control_key,json=controlKey,proto3" json:"control_key,omitempty"`
	// Flag to specify the event as including an 'Meta Key'.
	// This includes the Windows Key (⊞) on windows and the Command Key (⌘) on MacOS
	MetaKey bool `protobuf:"varint,8,opt,name=meta_key,json=metaKey,proto3" json:"meta_key,omitempty"`
	// Flag to specify the event was captured while the 'Shift' Key
	// was active
	ShiftKey bool `protobuf:"varint,9,opt,name=shift_key,json=shiftKey,proto3" json:"shift_key,omitempty"`
	// contains filtered or unexported fields
}

Represents a keyboard event or key event. This data is collected whenever available.

func (*KeyPress) Descriptor deprecated

func (*KeyPress) Descriptor() ([]byte, []int)

Deprecated: Use KeyPress.ProtoReflect.Descriptor instead.

func (*KeyPress) GetAltKey

func (x *KeyPress) GetAltKey() bool

func (*KeyPress) GetControlKey

func (x *KeyPress) GetControlKey() bool

func (*KeyPress) GetDeterminedAt

func (x *KeyPress) GetDeterminedAt() int64

func (*KeyPress) GetMaskedKey

func (x *KeyPress) GetMaskedKey() int32

func (*KeyPress) GetMetaKey

func (x *KeyPress) GetMetaKey() bool

func (*KeyPress) GetShiftKey

func (x *KeyPress) GetShiftKey() bool

func (*KeyPress) GetSpecialKey

func (x *KeyPress) GetSpecialKey() string

func (*KeyPress) GetTarget

func (x *KeyPress) GetTarget() *TargetElement

func (*KeyPress) GetType

func (x *KeyPress) GetType() KeyPress_Type

func (*KeyPress) ProtoMessage

func (*KeyPress) ProtoMessage()

func (*KeyPress) ProtoReflect

func (x *KeyPress) ProtoReflect() protoreflect.Message

func (*KeyPress) Reset

func (x *KeyPress) Reset()

func (*KeyPress) String

func (x *KeyPress) String() string

func (*KeyPress) Validate

func (m *KeyPress) Validate() error

Validate checks the field values on KeyPress with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*KeyPress) ValidateAll

func (m *KeyPress) ValidateAll() error

ValidateAll checks the field values on KeyPress with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KeyPressMultiError, or nil if none found.

type KeyPressMultiError

type KeyPressMultiError []error

KeyPressMultiError is an error wrapping multiple validation errors returned by KeyPress.ValidateAll() if the designated constraints aren't met.

func (KeyPressMultiError) AllErrors

func (m KeyPressMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KeyPressMultiError) Error

func (m KeyPressMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type KeyPressValidationError

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

KeyPressValidationError is the validation error returned by KeyPress.Validate if the designated constraints aren't met.

func (KeyPressValidationError) Cause

func (e KeyPressValidationError) Cause() error

Cause function returns cause value.

func (KeyPressValidationError) Error

func (e KeyPressValidationError) Error() string

Error satisfies the builtin error interface

func (KeyPressValidationError) ErrorName

func (e KeyPressValidationError) ErrorName() string

ErrorName returns error name.

func (KeyPressValidationError) Field

func (e KeyPressValidationError) Field() string

Field function returns field value.

func (KeyPressValidationError) Key

func (e KeyPressValidationError) Key() bool

Key function returns key value.

func (KeyPressValidationError) Reason

func (e KeyPressValidationError) Reason() string

Reason function returns reason value.

type KeyPress_Type

type KeyPress_Type int32
const (
	KeyPress_UNKNOWN  KeyPress_Type = 0
	KeyPress_KEY_UP   KeyPress_Type = 1
	KeyPress_KEY_DOWN KeyPress_Type = 2
)

func (KeyPress_Type) Descriptor

func (KeyPress_Type) Enum

func (x KeyPress_Type) Enum() *KeyPress_Type

func (KeyPress_Type) EnumDescriptor deprecated

func (KeyPress_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyPress_Type.Descriptor instead.

func (KeyPress_Type) Number

func (KeyPress_Type) String

func (x KeyPress_Type) String() string

func (KeyPress_Type) Type

type Location

type Location struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The estimated horizontal accuracy of this location, radial, in meters
	HorizontalAccuracy float32 `protobuf:"fixed32,2,opt,name=horizontal_accuracy,json=horizontalAccuracy,proto3" json:"horizontal_accuracy,omitempty"`
	// The estimated vertical accuracy of this location, radial, in meters
	VerticalAccurracy float32 `protobuf:"fixed32,3,opt,name=vertical_accurracy,json=verticalAccurracy,proto3" json:"vertical_accurracy,omitempty"`
	// Altitude in meters above the WGS 84 reference ellipsoid
	Altitude float64 `protobuf:"fixed64,4,opt,name=altitude,proto3" json:"altitude,omitempty"`
	// Bearing in degrees
	Bearing float32 `protobuf:"fixed32,5,opt,name=bearing,proto3" json:"bearing,omitempty"`
	// The estimated bearing accuracy of this location, in degrees
	BearingAccuracyDegrees float32 `` /* 131-byte string literal not displayed */
	// Latitude, in degrees
	Latitude float64 `protobuf:"fixed64,7,opt,name=latitude,proto3" json:"latitude,omitempty"`
	// Longitude, in degrees
	Longitude float64 `protobuf:"fixed64,8,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// The provider of this location data
	Provider string `protobuf:"bytes,9,opt,name=provider,proto3" json:"provider,omitempty"`
	// Speed if it is available, in meters/second over ground
	Speed float32 `protobuf:"fixed32,10,opt,name=speed,proto3" json:"speed,omitempty"`
	// The estimated accuracy of the speed
	SpeedAccurracy float32 `protobuf:"fixed32,11,opt,name=speed_accurracy,json=speedAccurracy,proto3" json:"speed_accurracy,omitempty"`
	// contains filtered or unexported fields
}

* Android: https://developer.android.com/reference/android/location/Location.html IOS(Core Location): https://developer.apple.com/documentation/corelocation/cllocation This object is currently unused by the SDK.

func (*Location) Descriptor deprecated

func (*Location) Descriptor() ([]byte, []int)

Deprecated: Use Location.ProtoReflect.Descriptor instead.

func (*Location) GetAltitude

func (x *Location) GetAltitude() float64

func (*Location) GetBearing

func (x *Location) GetBearing() float32

func (*Location) GetBearingAccuracyDegrees

func (x *Location) GetBearingAccuracyDegrees() float32

func (*Location) GetDeterminedAt

func (x *Location) GetDeterminedAt() int64

func (*Location) GetHorizontalAccuracy

func (x *Location) GetHorizontalAccuracy() float32

func (*Location) GetLatitude

func (x *Location) GetLatitude() float64

func (*Location) GetLongitude

func (x *Location) GetLongitude() float64

func (*Location) GetProvider

func (x *Location) GetProvider() string

func (*Location) GetSpeed

func (x *Location) GetSpeed() float32

func (*Location) GetSpeedAccurracy

func (x *Location) GetSpeedAccurracy() float32

func (*Location) GetVerticalAccurracy

func (x *Location) GetVerticalAccurracy() float32

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) ProtoReflect

func (x *Location) ProtoReflect() protoreflect.Message

func (*Location) Reset

func (x *Location) Reset()

func (*Location) String

func (x *Location) String() string

func (*Location) Validate

func (m *Location) Validate() error

Validate checks the field values on Location with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Location) ValidateAll

func (m *Location) ValidateAll() error

ValidateAll checks the field values on Location with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LocationMultiError, or nil if none found.

type LocationMultiError

type LocationMultiError []error

LocationMultiError is an error wrapping multiple validation errors returned by Location.ValidateAll() if the designated constraints aren't met.

func (LocationMultiError) AllErrors

func (m LocationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LocationMultiError) Error

func (m LocationMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type LocationValidationError

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

LocationValidationError is the validation error returned by Location.Validate if the designated constraints aren't met.

func (LocationValidationError) Cause

func (e LocationValidationError) Cause() error

Cause function returns cause value.

func (LocationValidationError) Error

func (e LocationValidationError) Error() string

Error satisfies the builtin error interface

func (LocationValidationError) ErrorName

func (e LocationValidationError) ErrorName() string

ErrorName returns error name.

func (LocationValidationError) Field

func (e LocationValidationError) Field() string

Field function returns field value.

func (LocationValidationError) Key

func (e LocationValidationError) Key() bool

Key function returns key value.

func (LocationValidationError) Reason

func (e LocationValidationError) Reason() string

Reason function returns reason value.

type Magnetometer

type Magnetometer struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// X-axis magnetic field in micro-Tesla (uT).
	X float64 `protobuf:"fixed64,2,opt,name=x,proto3" json:"x,omitempty"`
	// Y-axis magnetic field in micro-Tesla (uT).
	Y float64 `protobuf:"fixed64,3,opt,name=y,proto3" json:"y,omitempty"`
	// Z-axis magnetic field in micro-Tesla (uT).
	Z float64 `protobuf:"fixed64,4,opt,name=z,proto3" json:"z,omitempty"`
	// contains filtered or unexported fields
}

* Magnetic field as perceived by the device.

func (*Magnetometer) Descriptor deprecated

func (*Magnetometer) Descriptor() ([]byte, []int)

Deprecated: Use Magnetometer.ProtoReflect.Descriptor instead.

func (*Magnetometer) GetDeterminedAt

func (x *Magnetometer) GetDeterminedAt() int64

func (*Magnetometer) GetX

func (x *Magnetometer) GetX() float64

func (*Magnetometer) GetY

func (x *Magnetometer) GetY() float64

func (*Magnetometer) GetZ

func (x *Magnetometer) GetZ() float64

func (*Magnetometer) ProtoMessage

func (*Magnetometer) ProtoMessage()

func (*Magnetometer) ProtoReflect

func (x *Magnetometer) ProtoReflect() protoreflect.Message

func (*Magnetometer) Reset

func (x *Magnetometer) Reset()

func (*Magnetometer) String

func (x *Magnetometer) String() string

func (*Magnetometer) Validate

func (m *Magnetometer) Validate() error

Validate checks the field values on Magnetometer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Magnetometer) ValidateAll

func (m *Magnetometer) ValidateAll() error

ValidateAll checks the field values on Magnetometer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MagnetometerMultiError, or nil if none found.

type MagnetometerMultiError

type MagnetometerMultiError []error

MagnetometerMultiError is an error wrapping multiple validation errors returned by Magnetometer.ValidateAll() if the designated constraints aren't met.

func (MagnetometerMultiError) AllErrors

func (m MagnetometerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MagnetometerMultiError) Error

func (m MagnetometerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MagnetometerValidationError

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

MagnetometerValidationError is the validation error returned by Magnetometer.Validate if the designated constraints aren't met.

func (MagnetometerValidationError) Cause

Cause function returns cause value.

func (MagnetometerValidationError) Error

Error satisfies the builtin error interface

func (MagnetometerValidationError) ErrorName

func (e MagnetometerValidationError) ErrorName() string

ErrorName returns error name.

func (MagnetometerValidationError) Field

Field function returns field value.

func (MagnetometerValidationError) Key

Key function returns key value.

func (MagnetometerValidationError) Reason

Reason function returns reason value.

type MouseWheel

type MouseWheel struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The delta distance, in logical pixels, requested in the X direction on the scroll wheel.
	// This is the actual value reported when wheel_mode is `PIXEL`, it is calculated otherwise.
	WheelDeltaX int64 `protobuf:"varint,2,opt,name=wheel_delta_x,json=wheelDeltaX,proto3" json:"wheel_delta_x,omitempty"`
	// The delta distance, in logical pixels, requested in the Y direction on the scroll wheel.
	// This is the actual value reported when wheel_mode is `PIXEL`, it is calculated otherwise.
	WheelDeltaY int64 `protobuf:"varint,3,opt,name=wheel_delta_y,json=wheelDeltaY,proto3" json:"wheel_delta_y,omitempty"`
	// The mode of scrolling used by mouse wheel
	WheelMode MouseWheel_WheelMode `protobuf:"varint,4,opt,name=wheel_mode,json=wheelMode,proto3,enum=v2.bundle.MouseWheel_WheelMode" json:"wheel_mode,omitempty"`
	// The delta distance, in lines, requested in the X direction on the scroll wheel.
	// Only set when wheel_mode is `LINE`
	WheelDeltaXLine int64 `protobuf:"varint,5,opt,name=wheel_delta_x_line,json=wheelDeltaXLine,proto3" json:"wheel_delta_x_line,omitempty"`
	// The delta distance, in lines, requested in the Y direction on the scroll wheel.
	// Only set when wheel_mode is `LINE`
	WheelDeltaYLine int64 `protobuf:"varint,6,opt,name=wheel_delta_y_line,json=wheelDeltaYLine,proto3" json:"wheel_delta_y_line,omitempty"`
	// The delta distance, in pages, requested in the X direction on the scroll wheel.
	// Only set when wheel_mode is `PAGE`
	WheelDeltaXPage int64 `protobuf:"varint,7,opt,name=wheel_delta_x_page,json=wheelDeltaXPage,proto3" json:"wheel_delta_x_page,omitempty"`
	// The delta distance, in pages, requested in the Y direction on the scroll wheel.
	// Only set when wheel_mode is `PAGE`
	WheelDeltaYPage int64 `protobuf:"varint,8,opt,name=wheel_delta_y_page,json=wheelDeltaYPage,proto3" json:"wheel_delta_y_page,omitempty"`
	// contains filtered or unexported fields
}

Represents interaction with the scroll wheel present on some mice or the scroll gesture present on trackpads or touch sensitive mice.

Note: A MouseWheel event does not necessarily trigger a ViewportScroll. A corresponding ViewportScroll will only occur if the view extends past the viewport allowing the view to be scrolled

func (*MouseWheel) Descriptor deprecated

func (*MouseWheel) Descriptor() ([]byte, []int)

Deprecated: Use MouseWheel.ProtoReflect.Descriptor instead.

func (*MouseWheel) GetDeterminedAt

func (x *MouseWheel) GetDeterminedAt() int64

func (*MouseWheel) GetWheelDeltaX

func (x *MouseWheel) GetWheelDeltaX() int64

func (*MouseWheel) GetWheelDeltaXLine

func (x *MouseWheel) GetWheelDeltaXLine() int64

func (*MouseWheel) GetWheelDeltaXPage

func (x *MouseWheel) GetWheelDeltaXPage() int64

func (*MouseWheel) GetWheelDeltaY

func (x *MouseWheel) GetWheelDeltaY() int64

func (*MouseWheel) GetWheelDeltaYLine

func (x *MouseWheel) GetWheelDeltaYLine() int64

func (*MouseWheel) GetWheelDeltaYPage

func (x *MouseWheel) GetWheelDeltaYPage() int64

func (*MouseWheel) GetWheelMode

func (x *MouseWheel) GetWheelMode() MouseWheel_WheelMode

func (*MouseWheel) ProtoMessage

func (*MouseWheel) ProtoMessage()

func (*MouseWheel) ProtoReflect

func (x *MouseWheel) ProtoReflect() protoreflect.Message

func (*MouseWheel) Reset

func (x *MouseWheel) Reset()

func (*MouseWheel) String

func (x *MouseWheel) String() string

func (*MouseWheel) Validate

func (m *MouseWheel) Validate() error

Validate checks the field values on MouseWheel with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MouseWheel) ValidateAll

func (m *MouseWheel) ValidateAll() error

ValidateAll checks the field values on MouseWheel with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MouseWheelMultiError, or nil if none found.

type MouseWheelMultiError

type MouseWheelMultiError []error

MouseWheelMultiError is an error wrapping multiple validation errors returned by MouseWheel.ValidateAll() if the designated constraints aren't met.

func (MouseWheelMultiError) AllErrors

func (m MouseWheelMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MouseWheelMultiError) Error

func (m MouseWheelMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MouseWheelValidationError

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

MouseWheelValidationError is the validation error returned by MouseWheel.Validate if the designated constraints aren't met.

func (MouseWheelValidationError) Cause

func (e MouseWheelValidationError) Cause() error

Cause function returns cause value.

func (MouseWheelValidationError) Error

Error satisfies the builtin error interface

func (MouseWheelValidationError) ErrorName

func (e MouseWheelValidationError) ErrorName() string

ErrorName returns error name.

func (MouseWheelValidationError) Field

Field function returns field value.

func (MouseWheelValidationError) Key

Key function returns key value.

func (MouseWheelValidationError) Reason

func (e MouseWheelValidationError) Reason() string

Reason function returns reason value.

type MouseWheel_WheelMode

type MouseWheel_WheelMode int32
const (
	MouseWheel_UNKNOWN_WHEEL_MODE MouseWheel_WheelMode = 0
	// The default mode for mouse wheel tracking. This mode means
	// the mouse wheel event reported by the system was output in pixels.
	MouseWheel_PIXEL MouseWheel_WheelMode = 1
	// A mode in which mouse wheel events are output as lines to be scrolled.
	// The raw values when this mode is used are output as `wheel_delta_y_line` and
	// `wheel_delta_x_line`.
	MouseWheel_LINE MouseWheel_WheelMode = 2
	// A mode in which mouse wheel events are output as pages to be scrolled.
	// This setting only appears on the Windows operating system and must be
	// turned on for this mode to appear.
	// The raw values when this mode is used are output as `wheel_delta_y_page` and
	// `wheel_delta_x_page`.
	MouseWheel_PAGE MouseWheel_WheelMode = 3
)

func (MouseWheel_WheelMode) Descriptor

func (MouseWheel_WheelMode) Enum

func (MouseWheel_WheelMode) EnumDescriptor deprecated

func (MouseWheel_WheelMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use MouseWheel_WheelMode.Descriptor instead.

func (MouseWheel_WheelMode) Number

func (MouseWheel_WheelMode) String

func (x MouseWheel_WheelMode) String() string

func (MouseWheel_WheelMode) Type

type Offset2D

type Offset2D struct {

	// The X component of the offset.
	Dx float64 `protobuf:"fixed64,1,opt,name=dx,proto3" json:"dx,omitempty"`
	// The Y component of the offset.
	Dy float64 `protobuf:"fixed64,2,opt,name=dy,proto3" json:"dy,omitempty"`
	// contains filtered or unexported fields
}

A 2D floating-point offset that represents a distance in a Cartesian space from a separately-maintained origin point.

func (*Offset2D) Descriptor deprecated

func (*Offset2D) Descriptor() ([]byte, []int)

Deprecated: Use Offset2D.ProtoReflect.Descriptor instead.

func (*Offset2D) GetDx

func (x *Offset2D) GetDx() float64

func (*Offset2D) GetDy

func (x *Offset2D) GetDy() float64

func (*Offset2D) ProtoMessage

func (*Offset2D) ProtoMessage()

func (*Offset2D) ProtoReflect

func (x *Offset2D) ProtoReflect() protoreflect.Message

func (*Offset2D) Reset

func (x *Offset2D) Reset()

func (*Offset2D) String

func (x *Offset2D) String() string

func (*Offset2D) Validate

func (m *Offset2D) Validate() error

Validate checks the field values on Offset2D with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Offset2D) ValidateAll

func (m *Offset2D) ValidateAll() error

ValidateAll checks the field values on Offset2D with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in Offset2DMultiError, or nil if none found.

type Offset2DMultiError

type Offset2DMultiError []error

Offset2DMultiError is an error wrapping multiple validation errors returned by Offset2D.ValidateAll() if the designated constraints aren't met.

func (Offset2DMultiError) AllErrors

func (m Offset2DMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (Offset2DMultiError) Error

func (m Offset2DMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type Offset2DValidationError

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

Offset2DValidationError is the validation error returned by Offset2D.Validate if the designated constraints aren't met.

func (Offset2DValidationError) Cause

func (e Offset2DValidationError) Cause() error

Cause function returns cause value.

func (Offset2DValidationError) Error

func (e Offset2DValidationError) Error() string

Error satisfies the builtin error interface

func (Offset2DValidationError) ErrorName

func (e Offset2DValidationError) ErrorName() string

ErrorName returns error name.

func (Offset2DValidationError) Field

func (e Offset2DValidationError) Field() string

Field function returns field value.

func (Offset2DValidationError) Key

func (e Offset2DValidationError) Key() bool

Key function returns key value.

func (Offset2DValidationError) Reason

func (e Offset2DValidationError) Reason() string

Reason function returns reason value.

type Orientation

type Orientation struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// Angle of rotation about the -z axis. This value represents the angle between the device's y
	// axis and the magnetic north pole. When facing north, this angle is 0, when facing south, this
	// angle is π. Likewise, when facing east, this angle is -π/2, and when facing west, this angle
	// is π/2. The range of values is -π to π.
	Azimuth float32 `protobuf:"fixed32,2,opt,name=azimuth,proto3" json:"azimuth,omitempty"`
	// Angle of rotation about the x axis. This value represents the angle between a plane parallel
	// to the device's screen and a plane parallel to the ground. Assuming that the bottom edge of
	// the device faces the user and that the screen is face-up, tilting the top edge of the device
	// toward the sky creates a positive pitch angle. The range of values is -π/2 to π/2.
	Pitch float32 `protobuf:"fixed32,3,opt,name=pitch,proto3" json:"pitch,omitempty"`
	// Angle of rotation about the y axis. This value represents the angle between a plane perpendicular
	// to the device's screen and a plane perpendicular to the ground. Assuming that the bottom edge of
	// the device faces the user and that the screen is face-up, tilting the left edge of the device toward
	// the sky creates a positive roll angle. The range of values is -π to π.
	Roll float32 `protobuf:"fixed32,4,opt,name=roll,proto3" json:"roll,omitempty"`
	// contains filtered or unexported fields
}

* Device orientation reported as azimuth, pitch and roll.

func (*Orientation) Descriptor deprecated

func (*Orientation) Descriptor() ([]byte, []int)

Deprecated: Use Orientation.ProtoReflect.Descriptor instead.

func (*Orientation) GetAzimuth

func (x *Orientation) GetAzimuth() float32

func (*Orientation) GetDeterminedAt

func (x *Orientation) GetDeterminedAt() int64

func (*Orientation) GetPitch

func (x *Orientation) GetPitch() float32

func (*Orientation) GetRoll

func (x *Orientation) GetRoll() float32

func (*Orientation) ProtoMessage

func (*Orientation) ProtoMessage()

func (*Orientation) ProtoReflect

func (x *Orientation) ProtoReflect() protoreflect.Message

func (*Orientation) Reset

func (x *Orientation) Reset()

func (*Orientation) String

func (x *Orientation) String() string

func (*Orientation) Validate

func (m *Orientation) Validate() error

Validate checks the field values on Orientation with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Orientation) ValidateAll

func (m *Orientation) ValidateAll() error

ValidateAll checks the field values on Orientation with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in OrientationMultiError, or nil if none found.

type OrientationMultiError

type OrientationMultiError []error

OrientationMultiError is an error wrapping multiple validation errors returned by Orientation.ValidateAll() if the designated constraints aren't met.

func (OrientationMultiError) AllErrors

func (m OrientationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (OrientationMultiError) Error

func (m OrientationMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type OrientationValidationError

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

OrientationValidationError is the validation error returned by Orientation.Validate if the designated constraints aren't met.

func (OrientationValidationError) Cause

Cause function returns cause value.

func (OrientationValidationError) Error

Error satisfies the builtin error interface

func (OrientationValidationError) ErrorName

func (e OrientationValidationError) ErrorName() string

ErrorName returns error name.

func (OrientationValidationError) Field

Field function returns field value.

func (OrientationValidationError) Key

Key function returns key value.

func (OrientationValidationError) Reason

Reason function returns reason value.

type PermissionEvent

type PermissionEvent struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The sensor affected by the permission change
	SensorType common.SensorType `protobuf:"varint,2,opt,name=sensor_type,json=sensorType,proto3,enum=v2.common.SensorType" json:"sensor_type,omitempty"`
	// The new status of the Sensor permission
	PermissionStatus PermissionEvent_PermissionStatus `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

Tracks a change in permissions for a sensor during a Session

func (*PermissionEvent) Descriptor deprecated

func (*PermissionEvent) Descriptor() ([]byte, []int)

Deprecated: Use PermissionEvent.ProtoReflect.Descriptor instead.

func (*PermissionEvent) GetDeterminedAt

func (x *PermissionEvent) GetDeterminedAt() int64

func (*PermissionEvent) GetPermissionStatus

func (x *PermissionEvent) GetPermissionStatus() PermissionEvent_PermissionStatus

func (*PermissionEvent) GetSensorType

func (x *PermissionEvent) GetSensorType() common.SensorType

func (*PermissionEvent) ProtoMessage

func (*PermissionEvent) ProtoMessage()

func (*PermissionEvent) ProtoReflect

func (x *PermissionEvent) ProtoReflect() protoreflect.Message

func (*PermissionEvent) Reset

func (x *PermissionEvent) Reset()

func (*PermissionEvent) String

func (x *PermissionEvent) String() string

func (*PermissionEvent) Validate

func (m *PermissionEvent) Validate() error

Validate checks the field values on PermissionEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PermissionEvent) ValidateAll

func (m *PermissionEvent) ValidateAll() error

ValidateAll checks the field values on PermissionEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PermissionEventMultiError, or nil if none found.

type PermissionEventMultiError

type PermissionEventMultiError []error

PermissionEventMultiError is an error wrapping multiple validation errors returned by PermissionEvent.ValidateAll() if the designated constraints aren't met.

func (PermissionEventMultiError) AllErrors

func (m PermissionEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PermissionEventMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type PermissionEventValidationError

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

PermissionEventValidationError is the validation error returned by PermissionEvent.Validate if the designated constraints aren't met.

func (PermissionEventValidationError) Cause

Cause function returns cause value.

func (PermissionEventValidationError) Error

Error satisfies the builtin error interface

func (PermissionEventValidationError) ErrorName

func (e PermissionEventValidationError) ErrorName() string

ErrorName returns error name.

func (PermissionEventValidationError) Field

Field function returns field value.

func (PermissionEventValidationError) Key

Key function returns key value.

func (PermissionEventValidationError) Reason

Reason function returns reason value.

type PermissionEvent_PermissionStatus

type PermissionEvent_PermissionStatus int32

The Permission Status for a given sensor dictated by what Permissions have been granted by the user

const (
	PermissionEvent_UNKNOWN_PERMISSION_STATUS PermissionEvent_PermissionStatus = 0
	// User has given permission
	PermissionEvent_ALLOWED PermissionEvent_PermissionStatus = 1
	// User has denied permission
	PermissionEvent_DENIED PermissionEvent_PermissionStatus = 2
	// User has not yet given or denied permission.
	// This means the user would need to be prompted
	// for permission before the sensor would be able to
	// be used.
	//
	// Data will not be collected.
	PermissionEvent_UNDETERMINED_BY_USER PermissionEvent_PermissionStatus = 3
	// Checking the status of the permission would trigger
	// a user prompt and cannot be determined another way.
	//
	// This is currently only used for Safari by the Web SDK.
	// Data will attempt to be collected but is not guaranteed.
	PermissionEvent_REQUIRES_PROMPT_TO_DETERMINE PermissionEvent_PermissionStatus = 4
	// The application has permission to use the sensor
	// but the sensor is currently unavailable. This is
	// typically due to the sensor not existing on the
	// device when using the Web SDK.
	PermissionEvent_SENSOR_NOT_AVAILABLE PermissionEvent_PermissionStatus = 5
)

func (PermissionEvent_PermissionStatus) Descriptor

func (PermissionEvent_PermissionStatus) Enum

func (PermissionEvent_PermissionStatus) EnumDescriptor deprecated

func (PermissionEvent_PermissionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use PermissionEvent_PermissionStatus.Descriptor instead.

func (PermissionEvent_PermissionStatus) Number

func (PermissionEvent_PermissionStatus) String

func (PermissionEvent_PermissionStatus) Type

type Pointer

type Pointer struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The type of the pointer event that was used.
	Type Pointer_Type `protobuf:"varint,2,opt,name=type,proto3,enum=v2.bundle.Pointer_Type" json:"type,omitempty"`
	// Bit field calculated using a bitwise AND operation over constants
	// that represent individual buttons on a device.
	Buttons int64 `protobuf:"varint,3,opt,name=buttons,proto3" json:"buttons,omitempty"`
	// Distance in logical pixels that the pointer moved since the last data point. Note
	// that the delta is reported per gesture. The delta values reset when a new gesture
	// is started.
	Delta *Offset2D `protobuf:"bytes,4,opt,name=delta,proto3" json:"delta,omitempty"`
	// Unique identifier for the pointing device. Note that all platforms iOS, Android
	// and Web report a new device id for each new gesture. The device can be used as
	// a logical grouping of Pointer events that belong to a particular gesture.
	Device int64 `protobuf:"varint,5,opt,name=device,proto3" json:"device,omitempty"`
	// The distance of the detected object from the input surface.
	Distance float64 `protobuf:"fixed64,6,opt,name=distance,proto3" json:"distance,omitempty"`
	// The range of possible values for distance.
	DistanceRange *ClosedRange `protobuf:"bytes,7,opt,name=distance_range,json=distanceRange,proto3" json:"distance_range,omitempty"`
	// Set if an application from a different security domain is in any way
	// obscuring this application's window. Note that this field is not implemented
	// as there is no means of deriving this information on all platforms.
	//
	// Deprecated: Do not use.
	Obscured bool `protobuf:"varint,8,opt,name=obscured,proto3" json:"obscured,omitempty"`
	// The orientation angle of the detected object, in radians.
	Orientation float64 `protobuf:"fixed64,9,opt,name=orientation,proto3" json:"orientation,omitempty"`
	// Coordinate of the position of the pointer, in logical pixels in the global coordinate space.
	Position *Offset2D `protobuf:"bytes,10,opt,name=position,proto3" json:"position,omitempty"`
	// The pressure of the touch.
	Pressure float64 `protobuf:"fixed64,11,opt,name=pressure,proto3" json:"pressure,omitempty"`
	// The range of possible values for pressure.
	PressureRange *ClosedRange `protobuf:"bytes,12,opt,name=pressure_range,json=pressureRange,proto3" json:"pressure_range,omitempty"`
	// The radius of the contact ellipse along the major axis, in logical pixels.
	RadiusMajor float64 `protobuf:"fixed64,13,opt,name=radius_major,json=radiusMajor,proto3" json:"radius_major,omitempty"`
	// The radius of the contact ellipse along the minor axis, in logical pixels.
	RadiusMinor float64 `protobuf:"fixed64,14,opt,name=radius_minor,json=radiusMinor,proto3" json:"radius_minor,omitempty"`
	// The range of possible values of radius;
	RadiusRange *ClosedRange `protobuf:"bytes,15,opt,name=radius_range,json=radiusRange,proto3" json:"radius_range,omitempty"`
	// The area of the screen being pressed.
	Size float64 `protobuf:"fixed64,16,opt,name=size,proto3" json:"size,omitempty"`
	// Set if the event was generated by some automated mechanism.
	Synthesized bool `protobuf:"varint,17,opt,name=synthesized,proto3" json:"synthesized,omitempty"`
	// The tilt angle of the detected object, in radians.
	Tilt float64 `protobuf:"fixed64,18,opt,name=tilt,proto3" json:"tilt,omitempty"`
	// Set if the touch was detected to have come from a software keyboard.
	IsSoftwareKeyboard bool `protobuf:"varint,19,opt,name=is_software_keyboard,json=isSoftwareKeyboard,proto3" json:"is_software_keyboard,omitempty"`
	// The status of the pointer in relation to the containing view with
	// events for the pointer entering or leaving the view boundaries
	ViewportBoundaryStatus Pointer_ViewportBoundaryStatus `` /* 177-byte string literal not displayed */
	// Represents the element that the pointer is over.
	//
	// This element is only available through the Web SDK and
	// is the element determined by the browser. The elements
	// will be restricted to only those monitored for Click data
	Target *TargetElement `protobuf:"bytes,21,opt,name=target,proto3" json:"target,omitempty"`
	// contains filtered or unexported fields
}

Generic data model for touch, stylus, or mouse events. Pointer events operate in the coordinate space of the screen, scaled to logical pixels. Logical pixels approximate a grid with about 38 pixels per centimeter, or 96 pixels per inch.

This allows analysis be performed independent of the precise hardware characteristics of the device. In particular, features such as touch slop can be defined in terms of roughly physical lengths so that the user can shift their finger by the same distance on a high-density display as on a low-resolution device.

func (*Pointer) Descriptor deprecated

func (*Pointer) Descriptor() ([]byte, []int)

Deprecated: Use Pointer.ProtoReflect.Descriptor instead.

func (*Pointer) GetButtons

func (x *Pointer) GetButtons() int64

func (*Pointer) GetDelta

func (x *Pointer) GetDelta() *Offset2D

func (*Pointer) GetDeterminedAt

func (x *Pointer) GetDeterminedAt() int64

func (*Pointer) GetDevice

func (x *Pointer) GetDevice() int64

func (*Pointer) GetDistance

func (x *Pointer) GetDistance() float64

func (*Pointer) GetDistanceRange

func (x *Pointer) GetDistanceRange() *ClosedRange

func (*Pointer) GetIsSoftwareKeyboard

func (x *Pointer) GetIsSoftwareKeyboard() bool

func (*Pointer) GetObscured deprecated

func (x *Pointer) GetObscured() bool

Deprecated: Do not use.

func (*Pointer) GetOrientation

func (x *Pointer) GetOrientation() float64

func (*Pointer) GetPosition

func (x *Pointer) GetPosition() *Offset2D

func (*Pointer) GetPressure

func (x *Pointer) GetPressure() float64

func (*Pointer) GetPressureRange

func (x *Pointer) GetPressureRange() *ClosedRange

func (*Pointer) GetRadiusMajor

func (x *Pointer) GetRadiusMajor() float64

func (*Pointer) GetRadiusMinor

func (x *Pointer) GetRadiusMinor() float64

func (*Pointer) GetRadiusRange

func (x *Pointer) GetRadiusRange() *ClosedRange

func (*Pointer) GetSize

func (x *Pointer) GetSize() float64

func (*Pointer) GetSynthesized

func (x *Pointer) GetSynthesized() bool

func (*Pointer) GetTarget

func (x *Pointer) GetTarget() *TargetElement

func (*Pointer) GetTilt

func (x *Pointer) GetTilt() float64

func (*Pointer) GetType

func (x *Pointer) GetType() Pointer_Type

func (*Pointer) GetViewportBoundaryStatus

func (x *Pointer) GetViewportBoundaryStatus() Pointer_ViewportBoundaryStatus

func (*Pointer) ProtoMessage

func (*Pointer) ProtoMessage()

func (*Pointer) ProtoReflect

func (x *Pointer) ProtoReflect() protoreflect.Message

func (*Pointer) Reset

func (x *Pointer) Reset()

func (*Pointer) String

func (x *Pointer) String() string

func (*Pointer) Validate

func (m *Pointer) Validate() error

Validate checks the field values on Pointer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Pointer) ValidateAll

func (m *Pointer) ValidateAll() error

ValidateAll checks the field values on Pointer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PointerMultiError, or nil if none found.

type PointerMultiError

type PointerMultiError []error

PointerMultiError is an error wrapping multiple validation errors returned by Pointer.ValidateAll() if the designated constraints aren't met.

func (PointerMultiError) AllErrors

func (m PointerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PointerMultiError) Error

func (m PointerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PointerValidationError

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

PointerValidationError is the validation error returned by Pointer.Validate if the designated constraints aren't met.

func (PointerValidationError) Cause

func (e PointerValidationError) Cause() error

Cause function returns cause value.

func (PointerValidationError) Error

func (e PointerValidationError) Error() string

Error satisfies the builtin error interface

func (PointerValidationError) ErrorName

func (e PointerValidationError) ErrorName() string

ErrorName returns error name.

func (PointerValidationError) Field

func (e PointerValidationError) Field() string

Field function returns field value.

func (PointerValidationError) Key

func (e PointerValidationError) Key() bool

Key function returns key value.

func (PointerValidationError) Reason

func (e PointerValidationError) Reason() string

Reason function returns reason value.

type Pointer_Type

type Pointer_Type int32
const (
	Pointer_UNKNOWN         Pointer_Type = 0
	Pointer_STYLUS          Pointer_Type = 1
	Pointer_INVERTED_STYLUS Pointer_Type = 2
	Pointer_TOUCH           Pointer_Type = 3
	Pointer_MOUSE           Pointer_Type = 4
)

func (Pointer_Type) Descriptor

func (Pointer_Type) Enum

func (x Pointer_Type) Enum() *Pointer_Type

func (Pointer_Type) EnumDescriptor deprecated

func (Pointer_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Pointer_Type.Descriptor instead.

func (Pointer_Type) Number

func (Pointer_Type) String

func (x Pointer_Type) String() string

func (Pointer_Type) Type

type Pointer_ViewportBoundaryStatus

type Pointer_ViewportBoundaryStatus int32

A status of the pointer with respect to the monitored Viewport boundaries.

const (
	// The status of the pointer within the viewport is unknown
	Pointer_UNKNOWN_VIEWPORT_BOUNDARY_STATUS Pointer_ViewportBoundaryStatus = 0
	// The pointer has entered the viewport boundaries
	Pointer_ENTER_VIEWPORT Pointer_ViewportBoundaryStatus = 1
	// The pointer is within the viewport boundaries
	Pointer_IN_VIEWPORT Pointer_ViewportBoundaryStatus = 2
	// The pointer has left the viewport boundaries
	Pointer_LEAVE_VIEWPORT Pointer_ViewportBoundaryStatus = 3
)

func (Pointer_ViewportBoundaryStatus) Descriptor

func (Pointer_ViewportBoundaryStatus) Enum

func (Pointer_ViewportBoundaryStatus) EnumDescriptor deprecated

func (Pointer_ViewportBoundaryStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use Pointer_ViewportBoundaryStatus.Descriptor instead.

func (Pointer_ViewportBoundaryStatus) Number

func (Pointer_ViewportBoundaryStatus) String

func (Pointer_ViewportBoundaryStatus) Type

type SealedBundle

type SealedBundle struct {

	// The bundle as received in the client request.
	Bundle *Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"`
	// Application ID that was the source of the data.
	AppId string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
	// Credential ID associated with the App.
	CredentialId string `protobuf:"bytes,3,opt,name=credential_id,json=credentialId,proto3" json:"credential_id,omitempty"`
	// Session ID for a specific recording.
	SessionId string `protobuf:"bytes,4,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// Plaintext User ID extracted from the authentication token.
	UserId string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// The server time in millis when the bundle envelope was constructed.
	ServerTimeMillis int64 `protobuf:"varint,6,opt,name=server_time_millis,json=serverTimeMillis,proto3" json:"server_time_millis,omitempty"`
	// Unique app install ID generated by the OS.
	InstallId string `protobuf:"bytes,7,opt,name=install_id,json=installId,proto3" json:"install_id,omitempty"`
	// The client side user ID (e.g after customer authenticates an user).
	ClientUserId string `protobuf:"bytes,8,opt,name=client_user_id,json=clientUserId,proto3" json:"client_user_id,omitempty"`
	// The client side remote IP as seen when the bundle was ingested.
	RemoteIp string `protobuf:"bytes,9,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"`
	// The journey ID associated with the session.
	JourneyId string `protobuf:"bytes,10,opt,name=journey_id,json=journeyId,proto3" json:"journey_id,omitempty"`
	// contains filtered or unexported fields
}

A SealedBundle is a server-side envelope for a Bundle generated by the client SDK. It is used to append additional server-side state extracted from the request to each batch of events captured from the client.

func (*SealedBundle) Descriptor deprecated

func (*SealedBundle) Descriptor() ([]byte, []int)

Deprecated: Use SealedBundle.ProtoReflect.Descriptor instead.

func (*SealedBundle) GetAppId

func (x *SealedBundle) GetAppId() string

func (*SealedBundle) GetBundle

func (x *SealedBundle) GetBundle() *Bundle

func (*SealedBundle) GetClientUserId

func (x *SealedBundle) GetClientUserId() string

func (*SealedBundle) GetCredentialId

func (x *SealedBundle) GetCredentialId() string

func (*SealedBundle) GetInstallId

func (x *SealedBundle) GetInstallId() string

func (*SealedBundle) GetJourneyId

func (x *SealedBundle) GetJourneyId() string

func (*SealedBundle) GetRemoteIp

func (x *SealedBundle) GetRemoteIp() string

func (*SealedBundle) GetServerTimeMillis

func (x *SealedBundle) GetServerTimeMillis() int64

func (*SealedBundle) GetSessionId

func (x *SealedBundle) GetSessionId() string

func (*SealedBundle) GetUserId

func (x *SealedBundle) GetUserId() string

func (*SealedBundle) ProtoMessage

func (*SealedBundle) ProtoMessage()

func (*SealedBundle) ProtoReflect

func (x *SealedBundle) ProtoReflect() protoreflect.Message

func (*SealedBundle) Reset

func (x *SealedBundle) Reset()

func (*SealedBundle) String

func (x *SealedBundle) String() string

func (*SealedBundle) Validate

func (m *SealedBundle) Validate() error

Validate checks the field values on SealedBundle with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SealedBundle) ValidateAll

func (m *SealedBundle) ValidateAll() error

ValidateAll checks the field values on SealedBundle with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SealedBundleMultiError, or nil if none found.

type SealedBundleMultiError

type SealedBundleMultiError []error

SealedBundleMultiError is an error wrapping multiple validation errors returned by SealedBundle.ValidateAll() if the designated constraints aren't met.

func (SealedBundleMultiError) AllErrors

func (m SealedBundleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SealedBundleMultiError) Error

func (m SealedBundleMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SealedBundleValidationError

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

SealedBundleValidationError is the validation error returned by SealedBundle.Validate if the designated constraints aren't met.

func (SealedBundleValidationError) Cause

Cause function returns cause value.

func (SealedBundleValidationError) Error

Error satisfies the builtin error interface

func (SealedBundleValidationError) ErrorName

func (e SealedBundleValidationError) ErrorName() string

ErrorName returns error name.

func (SealedBundleValidationError) Field

Field function returns field value.

func (SealedBundleValidationError) Key

Key function returns key value.

func (SealedBundleValidationError) Reason

Reason function returns reason value.

type TargetElement

type TargetElement struct {

	// A unique identifier that represents an element that is being interacted
	// with. The id is guaranteed to be different for each element in the
	// application. The SDK makes the best effort to ensure the consistency of
	// this id. The user can override this value by providing their own id.
	TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// This type data accompanies the target_id. The SDK makes a best
	// attempt at determining the type of the target based on
	// the properties of the element. The user can override this
	// value by providing their own type.
	TargetType string `protobuf:"bytes,2,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"`
	// contains filtered or unexported fields
}

Corresponds to a target element that is interacted with when collecting events using the SDK.

func (*TargetElement) Descriptor deprecated

func (*TargetElement) Descriptor() ([]byte, []int)

Deprecated: Use TargetElement.ProtoReflect.Descriptor instead.

func (*TargetElement) GetTargetId

func (x *TargetElement) GetTargetId() string

func (*TargetElement) GetTargetType

func (x *TargetElement) GetTargetType() string

func (*TargetElement) ProtoMessage

func (*TargetElement) ProtoMessage()

func (*TargetElement) ProtoReflect

func (x *TargetElement) ProtoReflect() protoreflect.Message

func (*TargetElement) Reset

func (x *TargetElement) Reset()

func (*TargetElement) String

func (x *TargetElement) String() string

func (*TargetElement) Validate

func (m *TargetElement) Validate() error

Validate checks the field values on TargetElement with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TargetElement) ValidateAll

func (m *TargetElement) ValidateAll() error

ValidateAll checks the field values on TargetElement with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TargetElementMultiError, or nil if none found.

type TargetElementMultiError

type TargetElementMultiError []error

TargetElementMultiError is an error wrapping multiple validation errors returned by TargetElement.ValidateAll() if the designated constraints aren't met.

func (TargetElementMultiError) AllErrors

func (m TargetElementMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TargetElementMultiError) Error

func (m TargetElementMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TargetElementValidationError

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

TargetElementValidationError is the validation error returned by TargetElement.Validate if the designated constraints aren't met.

func (TargetElementValidationError) Cause

Cause function returns cause value.

func (TargetElementValidationError) Error

Error satisfies the builtin error interface

func (TargetElementValidationError) ErrorName

func (e TargetElementValidationError) ErrorName() string

ErrorName returns error name.

func (TargetElementValidationError) Field

Field function returns field value.

func (TargetElementValidationError) Key

Key function returns key value.

func (TargetElementValidationError) Reason

Reason function returns reason value.

type TextChange deprecated

type TextChange struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// Represents the target input field that detected the text change event.
	Target *TargetElement `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
	// This value represents whether the input field represented by target(see above)
	// is in focus or not.
	Focus bool `protobuf:"varint,3,opt,name=focus,proto3" json:"focus,omitempty"`
	// Provides a snapshot of the text contained in the input field represented by the target
	// at the determined time. Note that the caller can infer the characters typed based on
	// how this text changes over time. For privacy purposes this string
	// is masked and does not correspond to the actual characters typed.
	MaskedText string `protobuf:"bytes,4,opt,name=masked_text,json=maskedText,proto3" json:"masked_text,omitempty"`
	// Returns true if the captured text exceeds the maximum allowable limit. In
	// cases like these the text is truncated and this flag returns a true.
	TruncatedText bool `protobuf:"varint,5,opt,name=truncated_text,json=truncatedText,proto3" json:"truncated_text,omitempty"`
	// Determines if the text change was a result of a specific action.
	Action TextChange_Action `protobuf:"varint,6,opt,name=action,proto3,enum=v2.bundle.TextChange_Action" json:"action,omitempty"`
	// contains filtered or unexported fields
}

Represents a message that is fired everytime a text change event happens on a specified input target.

Deprecated: Do not use.

func (*TextChange) Descriptor deprecated

func (*TextChange) Descriptor() ([]byte, []int)

Deprecated: Use TextChange.ProtoReflect.Descriptor instead.

func (*TextChange) GetAction

func (x *TextChange) GetAction() TextChange_Action

func (*TextChange) GetDeterminedAt

func (x *TextChange) GetDeterminedAt() int64

func (*TextChange) GetFocus

func (x *TextChange) GetFocus() bool

func (*TextChange) GetMaskedText

func (x *TextChange) GetMaskedText() string

func (*TextChange) GetTarget

func (x *TextChange) GetTarget() *TargetElement

func (*TextChange) GetTruncatedText

func (x *TextChange) GetTruncatedText() bool

func (*TextChange) ProtoMessage

func (*TextChange) ProtoMessage()

func (*TextChange) ProtoReflect

func (x *TextChange) ProtoReflect() protoreflect.Message

func (*TextChange) Reset

func (x *TextChange) Reset()

func (*TextChange) String

func (x *TextChange) String() string

func (*TextChange) Validate

func (m *TextChange) Validate() error

Validate checks the field values on TextChange with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TextChange) ValidateAll

func (m *TextChange) ValidateAll() error

ValidateAll checks the field values on TextChange with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TextChangeMultiError, or nil if none found.

type TextChangeMultiError

type TextChangeMultiError []error

TextChangeMultiError is an error wrapping multiple validation errors returned by TextChange.ValidateAll() if the designated constraints aren't met.

func (TextChangeMultiError) AllErrors

func (m TextChangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TextChangeMultiError) Error

func (m TextChangeMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TextChangeValidationError

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

TextChangeValidationError is the validation error returned by TextChange.Validate if the designated constraints aren't met.

func (TextChangeValidationError) Cause

func (e TextChangeValidationError) Cause() error

Cause function returns cause value.

func (TextChangeValidationError) Error

Error satisfies the builtin error interface

func (TextChangeValidationError) ErrorName

func (e TextChangeValidationError) ErrorName() string

ErrorName returns error name.

func (TextChangeValidationError) Field

Field function returns field value.

func (TextChangeValidationError) Key

Key function returns key value.

func (TextChangeValidationError) Reason

func (e TextChangeValidationError) Reason() string

Reason function returns reason value.

type TextChange_Action

type TextChange_Action int32
const (
	TextChange_UNKNOWN TextChange_Action = 0 // Encompasses all the other types of text change events
	// including typing, swipe, autofill, autocomplete. Essentially
	// anything that is not cut or paste.
	TextChange_CUT   TextChange_Action = 1
	TextChange_PASTE TextChange_Action = 2
)

func (TextChange_Action) Descriptor

func (TextChange_Action) Enum

func (TextChange_Action) EnumDescriptor deprecated

func (TextChange_Action) EnumDescriptor() ([]byte, []int)

Deprecated: Use TextChange_Action.Descriptor instead.

func (TextChange_Action) Number

func (TextChange_Action) String

func (x TextChange_Action) String() string

func (TextChange_Action) Type

type ViewportScroll

type ViewportScroll struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// The X scroll position expressed as the offset from the view starting position
	XPosition int64 `protobuf:"varint,2,opt,name=x_position,json=xPosition,proto3" json:"x_position,omitempty"`
	// The Y scroll position expressed as the offset from the view starting position
	YPosition int64 `protobuf:"varint,3,opt,name=y_position,json=yPosition,proto3" json:"y_position,omitempty"`
	// contains filtered or unexported fields
}

Represents the movement of the page when it is scrolled.

Note: A scroll message means that the viewport was shifted. Scroll messages will not be recorded if the view does not extend past the edge of the viewport

func (*ViewportScroll) Descriptor deprecated

func (*ViewportScroll) Descriptor() ([]byte, []int)

Deprecated: Use ViewportScroll.ProtoReflect.Descriptor instead.

func (*ViewportScroll) GetDeterminedAt

func (x *ViewportScroll) GetDeterminedAt() int64

func (*ViewportScroll) GetXPosition

func (x *ViewportScroll) GetXPosition() int64

func (*ViewportScroll) GetYPosition

func (x *ViewportScroll) GetYPosition() int64

func (*ViewportScroll) ProtoMessage

func (*ViewportScroll) ProtoMessage()

func (*ViewportScroll) ProtoReflect

func (x *ViewportScroll) ProtoReflect() protoreflect.Message

func (*ViewportScroll) Reset

func (x *ViewportScroll) Reset()

func (*ViewportScroll) String

func (x *ViewportScroll) String() string

func (*ViewportScroll) Validate

func (m *ViewportScroll) Validate() error

Validate checks the field values on ViewportScroll with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ViewportScroll) ValidateAll

func (m *ViewportScroll) ValidateAll() error

ValidateAll checks the field values on ViewportScroll with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ViewportScrollMultiError, or nil if none found.

type ViewportScrollMultiError

type ViewportScrollMultiError []error

ViewportScrollMultiError is an error wrapping multiple validation errors returned by ViewportScroll.ValidateAll() if the designated constraints aren't met.

func (ViewportScrollMultiError) AllErrors

func (m ViewportScrollMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ViewportScrollMultiError) Error

func (m ViewportScrollMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ViewportScrollValidationError

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

ViewportScrollValidationError is the validation error returned by ViewportScroll.Validate if the designated constraints aren't met.

func (ViewportScrollValidationError) Cause

Cause function returns cause value.

func (ViewportScrollValidationError) Error

Error satisfies the builtin error interface

func (ViewportScrollValidationError) ErrorName

func (e ViewportScrollValidationError) ErrorName() string

ErrorName returns error name.

func (ViewportScrollValidationError) Field

Field function returns field value.

func (ViewportScrollValidationError) Key

Key function returns key value.

func (ViewportScrollValidationError) Reason

Reason function returns reason value.

type ViewportSizeEvent

type ViewportSizeEvent struct {

	// Time of event dispatch in milliseconds, relative to an arbitrary timeline.
	DeterminedAt int64 `protobuf:"varint,1,opt,name=determined_at,json=determinedAt,proto3" json:"determined_at,omitempty"`
	// Physical width of the device in pixels
	DevicePhysicalWidth int64 `protobuf:"varint,2,opt,name=device_physical_width,json=devicePhysicalWidth,proto3" json:"device_physical_width,omitempty"`
	// Physical height of the device in pixels
	DevicePhysicalHeight int64 `protobuf:"varint,3,opt,name=device_physical_height,json=devicePhysicalHeight,proto3" json:"device_physical_height,omitempty"`
	// Logical width of the device in pixels
	DeviceLogicalWidth int64 `protobuf:"varint,4,opt,name=device_logical_width,json=deviceLogicalWidth,proto3" json:"device_logical_width,omitempty"`
	// Logical height of the device in pixels
	DeviceLogicalHeight int64 `protobuf:"varint,5,opt,name=device_logical_height,json=deviceLogicalHeight,proto3" json:"device_logical_height,omitempty"`
	// The number of device pixels for each logical pixel for the screen this view is displayed on.
	DevicePixelRatio float64 `protobuf:"fixed64,6,opt,name=device_pixel_ratio,json=devicePixelRatio,proto3" json:"device_pixel_ratio,omitempty"`
	// The direction the viewport is oriented
	ViewportOrientation ViewportSizeEvent_ViewportOrientationDirection `` /* 181-byte string literal not displayed */
	// contains filtered or unexported fields
}

Tracks a change in size of the Viewport during a Session

func (*ViewportSizeEvent) Descriptor deprecated

func (*ViewportSizeEvent) Descriptor() ([]byte, []int)

Deprecated: Use ViewportSizeEvent.ProtoReflect.Descriptor instead.

func (*ViewportSizeEvent) GetDeterminedAt

func (x *ViewportSizeEvent) GetDeterminedAt() int64

func (*ViewportSizeEvent) GetDeviceLogicalHeight

func (x *ViewportSizeEvent) GetDeviceLogicalHeight() int64

func (*ViewportSizeEvent) GetDeviceLogicalWidth

func (x *ViewportSizeEvent) GetDeviceLogicalWidth() int64

func (*ViewportSizeEvent) GetDevicePhysicalHeight

func (x *ViewportSizeEvent) GetDevicePhysicalHeight() int64

func (*ViewportSizeEvent) GetDevicePhysicalWidth

func (x *ViewportSizeEvent) GetDevicePhysicalWidth() int64

func (*ViewportSizeEvent) GetDevicePixelRatio

func (x *ViewportSizeEvent) GetDevicePixelRatio() float64

func (*ViewportSizeEvent) GetViewportOrientation

func (*ViewportSizeEvent) ProtoMessage

func (*ViewportSizeEvent) ProtoMessage()

func (*ViewportSizeEvent) ProtoReflect

func (x *ViewportSizeEvent) ProtoReflect() protoreflect.Message

func (*ViewportSizeEvent) Reset

func (x *ViewportSizeEvent) Reset()

func (*ViewportSizeEvent) String

func (x *ViewportSizeEvent) String() string

func (*ViewportSizeEvent) Validate

func (m *ViewportSizeEvent) Validate() error

Validate checks the field values on ViewportSizeEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ViewportSizeEvent) ValidateAll

func (m *ViewportSizeEvent) ValidateAll() error

ValidateAll checks the field values on ViewportSizeEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ViewportSizeEventMultiError, or nil if none found.

type ViewportSizeEventMultiError

type ViewportSizeEventMultiError []error

ViewportSizeEventMultiError is an error wrapping multiple validation errors returned by ViewportSizeEvent.ValidateAll() if the designated constraints aren't met.

func (ViewportSizeEventMultiError) AllErrors

func (m ViewportSizeEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ViewportSizeEventMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ViewportSizeEventValidationError

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

ViewportSizeEventValidationError is the validation error returned by ViewportSizeEvent.Validate if the designated constraints aren't met.

func (ViewportSizeEventValidationError) Cause

Cause function returns cause value.

func (ViewportSizeEventValidationError) Error

Error satisfies the builtin error interface

func (ViewportSizeEventValidationError) ErrorName

ErrorName returns error name.

func (ViewportSizeEventValidationError) Field

Field function returns field value.

func (ViewportSizeEventValidationError) Key

Key function returns key value.

func (ViewportSizeEventValidationError) Reason

Reason function returns reason value.

type ViewportSizeEvent_ViewportOrientationDirection

type ViewportSizeEvent_ViewportOrientationDirection int32

* The orientation of the viewport on the device. This may or may not align with the orientation reported by Orientation depending on whether the user has rotation lock enabled on their device.

const (
	ViewportSizeEvent_UNKNOWN_ORIENTATION_DIRECTION ViewportSizeEvent_ViewportOrientationDirection = 0
	ViewportSizeEvent_PORTRAIT_PRIMARY              ViewportSizeEvent_ViewportOrientationDirection = 1
	ViewportSizeEvent_PORTRAIT_SECONDARY            ViewportSizeEvent_ViewportOrientationDirection = 2
	ViewportSizeEvent_LANDSCAPE_PRIMARY             ViewportSizeEvent_ViewportOrientationDirection = 3
	ViewportSizeEvent_LANDSCAPE_SECONDARY           ViewportSizeEvent_ViewportOrientationDirection = 4
)

func (ViewportSizeEvent_ViewportOrientationDirection) Descriptor

func (ViewportSizeEvent_ViewportOrientationDirection) Enum

func (ViewportSizeEvent_ViewportOrientationDirection) EnumDescriptor deprecated

Deprecated: Use ViewportSizeEvent_ViewportOrientationDirection.Descriptor instead.

func (ViewportSizeEvent_ViewportOrientationDirection) Number

func (ViewportSizeEvent_ViewportOrientationDirection) String

func (ViewportSizeEvent_ViewportOrientationDirection) Type

Jump to

Keyboard shortcuts

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