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 IStandard

interface IStandard
The base interface of all interfaces.

Methods

addRef()

void addRef()
Add a reference count to this interface.

release()

void release()
Release a reference count from this interface.

tryQueryInterface()

IStandard? tryQueryInterface(string interfaceName, i32 hash, i32 flags)
Obtain an interface handle on the current object. See QiFlags above for descriptions of flags callers can pass to this method to modify its behavior.

Parameters

interfaceName
string — Required fully-qualified name of the interface
hash
i32 — Required hash of the desired interface
flags
i32 — Required flags from QiFlags

Returns

IStandard? The return value is optional and might be absent. Interface handle if object has interface; nullptr otherwise

Throws

  • AbiBreakError — on interface hash mismatch (potentially modified by flags)

Last modified on October 29, 2026