Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

AVFoundationMBS.AssetLoadValuesAsynchronouslyForKeysFinished(MetadataItem as AVMetadataItemMBS, keys() as string, tag as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called by AVAssetMBS.loadValuesAsynchronouslyForKeys method on completion.
Notes: Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.AssetTrackLoadValuesAsynchronouslyForKeysFinished(MetadataItem as AVMetadataItemMBS, keys() as string, tag as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called by AVAssetTrackMBS.loadValuesAsynchronouslyForKeys method on completion.
Notes: Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.audioPlayerDecodeErrorDidOccur(player as AVAudioPlayerMBS, error as NSErrorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called when an audio player encounters a decoding error during playback.
Notes:
player: The audio player that encountered the decoding error.
error: The decoding error.

Feedback, Comments & Corrections

AVFoundationMBS.audioPlayerDidFinishPlaying(player as AVAudioPlayerMBS, successful as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called when a sound has finished playing.
Notes:
player: The audio player that finished playing.
flag: True on successful completion of playback; false if playback stopped because the system could not decode the audio data.

This method is not called upon an audio interruption. Rather, an audio player is paused upon interruption—the sound has not finished playing.

Feedback, Comments & Corrections

AVFoundationMBS.audioRecorderDidFinishRecording(recorder as AVAudioRecorderMBS, successful as boolean)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called by the system when a recording is stopped or has finished due to reaching its time limit.
Notes:
recorder: The audio recorder that has finished recording.
flag: True on successful completion of recording; False if recording stopped because of an audio encoding error.

This method is not called by the system if the audio recorder stopped due to an interruption.

Feedback, Comments & Corrections

AVFoundationMBS.audioRecorderEncodeErrorDidOccur(recorder as AVAudioRecorderMBS, error as NSErrorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called when an audio recorder encounters an encoding error during recording.
Notes:
recorder: The audio recorder that encountered the encoding error.
error: The encoding error.

Feedback, Comments & Corrections

AVFoundationMBS.BoundaryTimeObserver(Player as AVPlayerMBS, tag as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called by addBoundaryTimeObserverForTimes.
Notes: Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.CaptureDeviceSubjectAreaDidChange(device as AVCaptureDeviceMBS, notification as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Notification that is posted when the instance of AVCaptureDevice has detected a substantial change to the video subject area.
Notes:
notification is a NSNotificationMBS object.
This notification is only sent if you first set subjectAreaChangeMonitoringEnabled to True.

Feedback, Comments & Corrections

AVFoundationMBS.CaptureDeviceWasConnected(device as AVCaptureDeviceMBS, notification as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Notification that is posted when a new device becomes available.
Notes: notification is a NSNotificationMBS object.

Feedback, Comments & Corrections

AVFoundationMBS.CaptureDeviceWasDisconnected(device as AVCaptureDeviceMBS, notification as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Notification that is posted when an existing device becomes unavailable.
Notes: notification is a NSNotificationMBS object.

Feedback, Comments & Corrections

AVFoundationMBS.CaptureInputPortFormatDescriptionDidChange(InputPort as AVCaptureInputPortMBS, notification as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Posted if the formatDescription of the capture input port changes.
Notes: notification is a NSNotificationMBS object.

Feedback, Comments & Corrections

AVFoundationMBS.captureOutputDidDropSampleBuffer(captureOutput as AVCaptureOutputMBS, OutputSampleBuffer as CMSampleBufferMBS, connection as AVCaptureConnectionMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Notifies the delegate that a video frame was discarded.
Notes:
captureOutput: The capture output object.
sampleBuffer: A CMSampleBuffer object containing information about the dropped frame, such as its format and presentation time. This sample buffer contains none of the original video data.
connection: The connection from which the video was received.

Delegates receive this message whenever a late video frame is dropped. This method is called once for each dropped frame. It is called on the main thread, so please make your event code run very fast.

Feedback, Comments & Corrections

AVFoundationMBS.captureOutputDidFinishRecordingToOutputFileAtURL(captureOutput as AVCaptureFileOutputMBS, outputFileURL as string, connections() as AVCaptureConnectionMBS, error as NSErrorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Informs the delegate when all pending data has been written to an output file.
Notes:
captureOutput: The capture file output that has finished writing the file.
outputFileURL: The file URL of the file that is being written.
connections: An array of AVCaptureConnection objects attached to the file output that provided the data that is being written to the file.
error: If the file was not written successfully, an error object that describes the problem; otherwise nil.

This method is called whenever a file is finished. If the file was forced to be finished due to an error, the error is described in the error parameter—otherwise, the error parameter is nil.

This method is called when the file output has finished writing all data to a file whose recording was stopped, either because startRecordingToOutputFileURL or stopRecording were called, or because an error (described by the error parameter), occurred (if no error occurred, the error parameter is nil).

This method is always called for each recording request, even if no data is successfully written to the file.

Feedback, Comments & Corrections

AVFoundationMBS.captureOutputDidOutputMetadataObjects(captureOutput as AVCaptureOutputMBS, metadataObjects() as AVMetadataObjectMBS, connection as AVCaptureConnectionMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 14.0 Yes No No No No
Function: Called by AVCaptureMetadataOutputMBS class if new metadata is available.

Feedback, Comments & Corrections

AVFoundationMBS.captureOutputDidOutputSampleBuffer(captureOutput as AVCaptureOutputMBS, OutputSampleBuffer as CMSampleBufferMBS, connection as AVCaptureConnectionMBS, features as variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called for frames being outputted.
Notes:
Called by AVCaptureFileOutputMBS, AVCaptureVideoDataOutputMBS and AVCaptureAudioDataOutputMBS.

features is an array of object, which contains detected CIFeatureMBS objects for AVCaptureVideoDataOutputMBS with CIDetector.

Feedback, Comments & Corrections

AVFoundationMBS.captureOutputDidPauseRecordingToOutputFileAtURL(captureOutput as AVCaptureFileOutputMBS, fileURL as string, connections() as AVCaptureConnectionMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called whenever the output is recording to a file and successfully pauses the recording at the request of a client.
Notes:
captureOutput: The capture file output that has paused its file recording.
fileURL: The file URL of the file that is being written.
connections: An array of AVCaptureConnection objects attached to the file output that provided the data that is being written to the file.

This method is called whenever a request to pause recording is actually respected.

It is safe for delegates to change what the file output is currently doing (starting a new file, for example) from within this method. If recording to a file is stopped, either manually or due to an error, this method is not guaranteed to be called, even if a previous call to pauseRecording was made.

Feedback, Comments & Corrections

AVFoundationMBS.captureOutputDidResumeRecordingToOutputFileAtURL(captureOutput as AVCaptureFileOutputMBS, fileURL as string, connections() as AVCaptureConnectionMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called whenever the output, at the request of the client, successfully resumes a file recording that was paused.
Notes:
captureOutput: The capture file output that has resumed its paused file recording.
fileURL: The file URL of the file that is being written.
connections: An array of AVCaptureConnection objects attached to the file output that provided the data that is being written to the file.

Delegates can use this method to be informed when a request to resume recording is actually respected.

It is safe for delegates to change what the file output is currently doing (starting a new file, for example) from within this method. If recording to a file is stopped, either manually or due to an error, this method is not guaranteed to be called, even if a previous call toresumeRecording was made.

Feedback, Comments & Corrections

AVFoundationMBS.captureOutputDidStartRecordingToOutputFileAtURL(captureOutput as AVCaptureFileOutputMBS, fileURL as string, connections() as AVCaptureConnectionMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Informs the delegate when the output has started writing to a file.
Notes:
captureOutput: The capture file output that started writing the file.
fileURL: The file URL of the file that is being written.
connections: An array of AVCaptureConnection objects attached to the file output that provided the data that is being written to the file.

If an error condition prevents any data from being written, this method may not be called. captureOutputwillFinishRecordingToOutputFileAtURL and captureOutputdidFinishRecordingToOutputFileAtURL are always called, even if no data is written.

Feedback, Comments & Corrections

AVFoundationMBS.captureOutputWillFinishRecordingToOutputFileAtURL(captureOutput as AVCaptureFileOutputMBS, fileURL as string, connections() as AVCaptureConnectionMBS, error as NSErrorMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Informs the delegate when the output will stop writing new samples to a file.
Notes:
captureOutput: The capture file output that will finish writing the file.
fileURL: The file URL of the file that is being written.
connections: An array of AVCaptureConnection objects attached to the file output that provided the data that is being written to the file.
error: An error describing what caused the file to stop recording, or nil if there was no error.

This method is called when the file output will stop recording new samples to the file at outputFileURL, either because startRecordingToOutputFileURL or stopRecording were called, or because an error (described by the error parameter), occurred (if no error occurred, the error parameter is nil).

This method is always called for each recording request, even if no data is successfully written to the file.

Feedback, Comments & Corrections

AVFoundationMBS.CaptureSessionDidStartRunning(session as AVCaptureSessionMBS, notification as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Posted when a capture session starts.
Notes: notification is a NSNotificationMBS object.

Feedback, Comments & Corrections

AVFoundationMBS.CaptureSessionDidStopRunning(session as AVCaptureSessionMBS, notification as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Posted when a capture session stops.
Notes: notification is a NSNotificationMBS object.

Feedback, Comments & Corrections

AVFoundationMBS.CaptureSessionRuntimeError(session as AVCaptureSessionMBS, error as NSErrorMBS, notification as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Posted if an error occurred during a capture session.
Notes:
notification is a NSNotificationMBS object.
You retrieve the underlying error from the notification's user info dictionary using the key AVCaptureSessionErrorKey.

Feedback, Comments & Corrections

AVFoundationMBS.captureStillImageAsynchronouslyCompleted(CaptureStillImageOutput as AVCaptureStillImageOutputMBS, prepareJpegStillImage as boolean, tag as Variant, error as NSErrorMBS, imageDataSampleBuffer as CMSampleBufferMBS, JpegStillImage as memoryblock)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: The event called when still image was captured.
Notes:
If prepareJpegStillImage is true, the plugin will prepare the jpeg data and pass it as JpegStillImage, so the preparation is done on the capture thread.
imageDataSampleBuffer: The data that was captured.

The buffer attachments may contain metadata appropriate to the image data format. For example, a buffer containing JPEG data may carry a kCGImagePropertyExifDictionary as an attachment. See ImageIO/CGImageProperties.h for a list of keys and value types.
error
If the request could not be completed, an NSError object that describes the problem; otherwise nil.

Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.determineCompatibilityOfExportPresetCompleted(presetName as string, asset as AVAssetMBS, outputFileType as string, compatible as boolean, tag as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 14.0 Yes No No No No
Function: The event called by AVAssetExportSessionMBS.determineCompatibilityOfExportPreset.
Notes:
The event to execute with the results of your call to determineCompatibilityOfExportPreset.
The compatible parameter contains the value true if the combination of options is compatible or false if they are not.

Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.determineCompatibleFileTypesCompleted(exportsession as AVAssetExportSessionMBS, compatibleFileTypes() as string, tag as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 14.0 Yes No No No No
Function: The event called when you call AVAssetExportSessionMBS.determineCompatibleFileTypes method.
Notes:
The event to execute with the results.
You receive an array parameter and returns no result. The array contains zero or more strings with the UTIs of the compatible file types. The file types are in no particular order. For a list of constants specifying UTIs for standard file types, see AV Foundation Constants Reference.

Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.exportAsynchronouslyCompleted(ExportSession as AVAssetExportSessionMBS, tag as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Export finished.
Notes:
Called by AVAssetExportSessionMBS.exportAsynchronously when the export is done or failed.

Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.finishWritingCompleted(writer as AVAssetWriterMBS, tag as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 14.0 Yes No No No No
Function: Event called from AVAssetWriterMBS.finishWritingWithCompletionHandler.
Notes:
The event is invoked once the writing of the output file is finished or if a failure or cancellation occurs in the meantime.

Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.generateCGImagesAsynchronouslyForTimesCompleted(generator as AVAssetImageGeneratorMBS, requestedTime as CMTimeMBS, image as Variant, actualTime as CMTimeMBS, result as Integer, error as NSErrorMBS, tag as Variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Called when image generation is completed or cancelled.
Notes:
Image is a CGImageMBS object.
Called by AVAssetImageGeneratorMBS.generateCGImagesAsynchronouslyForTimes method.

Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.legibleOutputDidOutputAttributedStrings(output as AVPlayerItemLegibleOutputMBS, strings() as Variant, nativeSamples() as CMSampleBufferMBS, itemTime as CMTimeMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 14.0 Yes No No No No
Function: The legible output did output an attributed string.
Notes: Strings array contains NSAttributedStringMBS objects.

Feedback, Comments & Corrections

Next items

The items on this page are in the following plugins: MBS AVFoundation Plugin.

The biggest plugin in space...




Links
MBS Xojo Plugins