AelionSession
此内容尚不支持你的语言。
Defined in: packages/sdk/src/session.ts:239
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AelionSession(
options):AelionSession
Defined in: packages/sdk/src/session.ts:295
Parameters
Section titled “Parameters”options
Section titled “options”AelionSessionOptions = {}
Returns
Section titled “Returns”AelionSession
Properties
Section titled “Properties”
readonlyaudio:AelionAudioApi
Defined in: packages/sdk/src/session.ts:290
Implementation of
Section titled “Implementation of”export
Section titled “export”
readonlyexport:AelionExportApi
Defined in: packages/sdk/src/session.ts:293
Implementation of
Section titled “Implementation of”player
Section titled “player”
readonlyplayer:AelionPlayer
Defined in: packages/sdk/src/session.ts:289
Implementation of
Section titled “Implementation of”preview
Section titled “preview”
readonlypreview:AelionPreviewApi
Defined in: packages/sdk/src/session.ts:292
Implementation of
Section titled “Implementation of”transaction
Section titled “transaction”
readonlytransaction:AelionTransactionApi
Defined in: packages/sdk/src/session.ts:291
Implementation of
Section titled “Implementation of”Accessors
Section titled “Accessors”revision
Section titled “revision”Get Signature
Section titled “Get Signature”get revision():
bigint|null
Defined in: packages/sdk/src/session.ts:368
Returns
Section titled “Returns”bigint | null
Implementation of
Section titled “Implementation of”Get Signature
Section titled “Get Signature”get state():
AelionSessionState
Defined in: packages/sdk/src/session.ts:364
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”createDiagnosticReport()
Section titled “createDiagnosticReport()”createDiagnosticReport(
options?):AelionDiagnosticReport
Defined in: packages/sdk/src/session.ts:606
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”AelionSessionApi.createDiagnosticReport
dispose()
Section titled “dispose()”dispose():
Promise<void>
Defined in: packages/sdk/src/session.ts:704
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”getCapabilitySnapshot()
Section titled “getCapabilitySnapshot()”getCapabilitySnapshot():
CapabilityReport|null
Defined in: packages/sdk/src/session.ts:598
Returns
Section titled “Returns”CapabilityReport | null
Implementation of
Section titled “Implementation of”AelionSessionApi.getCapabilitySnapshot
getDiagnostics()
Section titled “getDiagnostics()”getDiagnostics(): readonly
Diagnostic[]
Defined in: packages/sdk/src/session.ts:602
Returns
Section titled “Returns”readonly Diagnostic[]
Implementation of
Section titled “Implementation of”AelionSessionApi.getDiagnostics
getSnapshot()
Section titled “getSnapshot()”getSnapshot():
AelionSessionSnapshot
Defined in: packages/sdk/src/session.ts:586
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”getStats()
Section titled “getStats()”getStats():
AelionSessionStats
Defined in: packages/sdk/src/session.ts:625
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”loadProject()
Section titled “loadProject()”loadProject(
value):Promise<void>
Defined in: packages/sdk/src/session.ts:372
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”Promise<void>
Implementation of
Section titled “Implementation of”notifyStatsChanged()
Section titled “notifyStatsChanged()”notifyStatsChanged():
void
Defined in: packages/sdk/src/session.ts:772
Returns
Section titled “Returns”void
probeCapabilities()
Section titled “probeCapabilities()”probeCapabilities(
signal?):Promise<CapabilityReport>
Defined in: packages/sdk/src/session.ts:566
Parameters
Section titled “Parameters”signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<CapabilityReport>
Implementation of
Section titled “Implementation of”AelionSessionApi.probeCapabilities
renderFrame()
Section titled “renderFrame()”renderFrame(
options):Promise<RenderIrFrameResult>
Defined in: packages/sdk/src/session.ts:503
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”Promise<RenderIrFrameResult>
Implementation of
Section titled “Implementation of”requireIr()
Section titled “requireIr()”requireIr():
RenderIr
Defined in: packages/sdk/src/session.ts:760
Returns
Section titled “Returns”requireMedia()
Section titled “requireMedia()”requireMedia():
AelionMediaProvider
Defined in: packages/sdk/src/session.ts:766
Returns
Section titled “Returns”subscribe()
Section titled “subscribe()”Call Signature
Section titled “Call Signature”subscribe(
listener): () =>void
Defined in: packages/sdk/src/session.ts:684
Parameters
Section titled “Parameters”listener
Section titled “listener”(event) => void
Returns
Section titled “Returns”():
void
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”Call Signature
Section titled “Call Signature”subscribe<
T>(type,listener): () =>void
Defined in: packages/sdk/src/session.ts:685
Type Parameters
Section titled “Type Parameters”T extends "project-loaded" | "project-changed" | "state-changed" | "capability-changed" | "stats-changed" | "diagnostic"
Parameters
Section titled “Parameters”T
listener
Section titled “listener”(event) => void
Returns
Section titled “Returns”():
void
Returns
Section titled “Returns”void