Appends the caption group synchronously if the input is ready for more media data.
- Parameter captionGroup: The caption group to be appended.
- Returns: Returns true if the append was successful, false if the input was not ready for more media data.
- Throws: An error if the underlying writer failed.
Appends the caption synchronously if the input is ready for more media data.
- Parameter caption: The caption to be appended.
- Returns: Returns true if the append was successful, false if the input was not ready for more media data.
- Throws: An error if the underlying writer failed.
Suspends until the input is ready for more media data, then appends the caption group.
- Parameter captionGroup: The caption group to be appended.
- Throws: An error if the underlying writer failed.
Suspends until the input is ready for more media data, then appends the caption.
- Parameter caption: The caption to be appended.
- Throws: An error if the underlying writer failed.
method · iOS 26.0+
finish
TypeScript
finish(): void
Swift declaration
func finish()
Indicates to the AVAssetWriter that no more buffers will be appended to this receiver.