API reference
API reference
Select your platform
No SDKs available
No versions available

EditorTelemetry Class

This class provides facilities to share telemetry from Unity Editor with Meta.

Member Enumerations

Enumeration ResultType

The result of an event.
Success
= 2
Failure
= 3
Cancel
= 4

Enumeration TelemetryEventId

The event IDs. These should map to GQL IDs.
Unknown
= 92612351
Session
= 92611421
SupplyToken
= 92608491
CheckAutoTrain
= 92612591
AutoTrain
= 92617773
ToggleCheckbox
= 1063854409
SyncEntities
= 92609990
ClickButton
= 92615194
AssignIntentMatcherInInspector
= 92616101
SelectOption
= 92604542
GenerateManifest
= 92615944
LoadManifest
= 92613324
NavigateToCodeFromInspector
= 92614941
OpenUi
= 92610372

Enumeration AnnotationKey

The annotation keys used for the key-value annotations.
Unknown
No description available
UnrecognizedEvent
No description available
UnrecognizedAnnotationKey
No description available
EnvironmentId
No description available
SessionId
No description available
StartTimeStamp
No description available
EndTimeStamp
No description available
Error
No description available
PageId
No description available
CompatibleSignatures
No description available
IncompatibleSignatures
No description available
IsAvailable
No description available
ControlId
No description available
Value
No description available
Type
No description available
WitSdkVersion
No description available
WitApiVersion
No description available

Properties

TelemetryLogLevel LogLevel[Get]
Sets consent as obtained or withdrawn. This controls whether Meta will collect telemetry or not

Object Data for package-func

EditorTelemetry ( )
Logs an event as started.
Parameters
eventId
The ID of the event that just started.
Returns
Instance key identifying this specific occurrence of the event.
Logs an instantaneous event that happens at one point in time (as opposed to one with a start and end).
Parameters
eventId
The ID of the event.
annotations
Optional annotations to add to the event.
Returns
Instance key identifying this specific occurrence of the event.
Annotates an event that has started but did not end yet.
Parameters
instanceKey
The instance key of the event. Must match the one used starting the event.
key
The annotation key.
value
The annotation value.
Annotates the current session event.
Parameters
instanceKey
The instance key of the event. Must match the one used starting the event.
key
The annotation key.
value
The annotation value.
Logs an event as ended.
Parameters
instanceKey
The instance key of the event. Must match the one used starting the event.
result
The result of the event.
Returns
Instance key.
Logs an event as ended.
Parameters
instanceKey
The instance key of the event. Must match the one used starting the event.
error
The error.
Returns
Instance key.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon