requestEject(completion:)
Requests to eject the media if permitted by the device, or to disconnect from a remote device, then executes the completion handler.
Declaration
func requestEject(completion: @escaping @Sendable ((any Error)?) -> Void)func requestEject() async throwsDiscussion
Execution of the completion block occurs on the calling thread.