Gets the currently set record of this record-playing block.
抛出
This function can throw errors.
isPlaying
isPlaying(): boolean
实验性
返回 boolean
备注
Returns true if the record-playing block is currently
playing a record.
抛出
This function can throw errors.
isValid
isValid(): boolean
实验性
返回 boolean
Whether the component is valid.
备注
Returns whether the component is valid. A component is
considered valid if its owner is valid, in addition to any
addition to any additional validation required by the
component.
pauseRecord
pauseRecord(): void
实验性
返回 void
备注
Pauses the currently playing record of this record-playing
block.
Represents a block that can play a record.