audioAttachmentView
@forge/monorepo / frontend/src / audioAttachmentView
Function: audioAttachmentView()
audioAttachmentView(
part,options?):AudioAttachmentView|null
Defined in: frontend/src/audio.ts:73
An audio view for a part, or null when the part is not playable audio.
null rather than a view with a flag: a caller that has to check a boolean before using the rest is a caller
that will forget once, and the failure is a player rendered for a PDF.
Parameters
part
options?
durationSeconds?
number
Returns
AudioAttachmentView | null