Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IVtrace

interface IVtrace
Extends com.amazon.apmf.IStandard IVtrace interface contains APIs to for trace session control and creating an ITraceCategory object

Methods

internCategory()

ITraceCategory* internCategory(string name, string traceType)
Creates an instance of ITraceCategory

Parameters

name
string — Required Name of category
traceType
string — Required Type of the trace point - valid options are: ‘vtrace’ or ‘vt_kpi’

Returns

ITraceCategory* A new ITraceCategory instance

sendTrigger()

void sendTrigger(string name)
Starts/stops a tracing session with a trigger. When sending a trigger, the trigger will be saved in a list of triggers and start tracing. If a recorded trigger name is used, the tracing session will end.

Parameters

name
string — Required The trigger phrase

getEnablementFlag()

com.amazon.apmf.NativePointer getEnablementFlag()
Points to a word-sized piece of memory that is set to non-zero when any form of tracing is enabled. Read with relaxed atomics and used as a conservative approximation of enablement that can be check without a function call

Returns

com.amazon.apmf.NativePointer Pointer to memory location that indicates if tracing is enabled
Last modified on October 29, 2026