Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

AVFoundationMBS.MetadataItemLoadValuesAsynchronouslyForKeysFinished(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 AVMetadataItemMBS.loadValuesAsynchronouslyForKeys method on completion.
Notes: Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.outputMediaDataWillChange(output as AVPlayerItemOutputMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Tells you that new samples are about to arrive.
Notes: You can use this method to prepare for any new sample data. This method is called at some point after a call to your video output object's requestNotificationOfMediaDataChangeWithAdvanceInterval method.

Feedback, Comments & Corrections

AVFoundationMBS.outputSequenceWasFlushed(output as AVPlayerItemOutputMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 13.2 Yes No No No No
Function: Tells the delegate that a new sample sequence is commencing.
Notes:
output: The output object that sent the message.

This method is called after any attempt to seek or change the playback direction of the item's content. If you are maintaining any queued future samples, you can use your implementation of this method to discard those samples.

Feedback, Comments & Corrections

AVFoundationMBS.PeriodicTimeObserver(Player as AVPlayerMBS, time as CMTimeMBS, 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 addPeriodicTimeObserverForInterval.
Notes:
time: The time at which the block is invoked.

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

Feedback, Comments & Corrections

AVFoundationMBS.PlayerItemDidPlayToEndTime(PlayerItem as AVPlayerItemMBS, 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 the item has played to its end time.
Notes:
notification is a NSNotificationMBS object.
The notification's object is the item that finished playing.

Feedback, Comments & Corrections

AVFoundationMBS.PlayerItemFailedToPlayToEndTime(PlayerItem as AVPlayerItemMBS, 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 when the item failed to play to its end time.
Notes:
notification is a NSNotificationMBS object.
The notification's object is the item that finished playing.
The user info dictionary contains an error object that describes the problem—seeAVPlayerItemFailedToPlayToEndTimeErrorKey.

Feedback, Comments & Corrections

AVFoundationMBS.PlayerItemNewAccessLogEntry(PlayerItem as AVPlayerItemMBS, notification 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: A new access log entry is available to a player item.
Notes:
notification is a NSNotificationMBS object.
Posted when a new access log entry has been added.
The notification's object is the player item. The new log entry is accessible via accessLog.

Feedback, Comments & Corrections

AVFoundationMBS.PlayerItemNewErrorLogEntry(PlayerItem as AVPlayerItemMBS, notification 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: A new error log entry is available to a player item.
Notes:
notification is a NSNotificationMBS object.
Posted when a new error log entry has been added.
The notification's object is the player item. The new log entry is accessible via errorLog, respectively.

Feedback, Comments & Corrections

AVFoundationMBS.PlayerItemPlaybackStalled(PlayerItem as AVPlayerItemMBS, notification 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 player item playback is stalled.
Notes:
notification is a NSNotificationMBS object.

Posted when some media did not arrive in time to continue playback.
The notification's object is the AVPlayerItem instance whose playback was unable to continue because the necessary media isn't available yet, usually because it didn't arrive in a timely fashion from its source over a network. Playback will continue once a sufficient amount of media has subsequently been delivered.

Feedback, Comments & Corrections

AVFoundationMBS.playerItemSeekToDateFinished(player as AVPlayerItemMBS, date as date, finished 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 seek operation to date finished.
Notes: Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.playerItemSeekToTimeFinished(player as AVPlayerItemMBS, time as CMTimeMBS, toleranceBefore as CMTimeMBS, toleranceAfter as CMTimeMBS, finished as boolean, 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: A seek operation has finished.
Notes:
finished: Indicates whether the seek operation completed.

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

Feedback, Comments & Corrections

AVFoundationMBS.PlayerItemTimeJumped(PlayerItem as AVPlayerItemMBS, 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 the item's current time has changed discontinuously.
Notes:
notification is a NSNotificationMBS object.
The notification's object is the item.

Feedback, Comments & Corrections

AVFoundationMBS.playerSeekToDateFinished(player as AVPlayerMBS, date as date, finished 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: Event called by AVPlayerMBS.seekToDate method when seeking is done.
Notes: Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.playerSeekToTimeFinished(player as AVPlayerMBS, time as CMTimeMBS, toleranceBefore as CMTimeMBS, toleranceAfter as CMTimeMBS, finished as boolean, 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 AVPlayerMBS.seekToTime when seeking is done.
Notes:
finished: Indicates whether the seek operation completed.

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

Feedback, Comments & Corrections

AVFoundationMBS.prerollAtRateFinished(player as AVAudioPlayerMBS, rate as Double, finished as boolean, 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: The event called when preroll is done.
Notes:
Finished: True if the data was loaded or false if there was a problem.
The value might be false if the preroll was interrupted by a time change or incompatible rate change.

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

Feedback, Comments & Corrections

AVFoundationMBS.requestAccessForMediaTypeCompleted(MediaType as String, granted as boolean, tag as variant)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 18.4 Yes No No No No
Function: The call to AVCaptureDeviceMBS.requestAccessForMediaType was decided.

Feedback, Comments & Corrections

AVFoundationMBS.requestContentAuthorizationCompleted(PlayerItem as AVPlayerItemMBS, timeoutInterval as Double, 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: The event called when a request started with AVPlayerItemMBS.requestContentAuthorizationAsynchronously completed.
Notes: Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.requestMediaDataWhenReadyOnQueueCompleted(assetWriterInput as AVAssetWriterInputMBS, 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 media is ready.
Notes:
You called requestMediaDataWhenReadyOnQueue on an AVAssetWriterInputMBS before.

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

Feedback, Comments & Corrections

AVFoundationMBS.requestMediaDataWhenReadyOnQueueFinished(assetWriterInput as AVAssetWriterInputMBS, assetReaderOutput as AVAssetReaderOutputMBS, 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 copying data from input to output by plugin is done.
Notes: Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.requestMediaDataWhenReadyOnQueueProgress(assetWriterInput as AVAssetWriterInputMBS, assetReaderOutput as AVAssetReaderOutputMBS, convertedByteCount as Int64, LastBuffer as CMSampleBufferMBS, 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 media is processed from input to output from plugin.
Notes:
LastBuffer: The last buffer processed.

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

Feedback, Comments & Corrections

AVFoundationMBS.resourceLoaderDidCancelLoadingRequest(resourceLoader as AVAssetResourceLoaderMBS, loadingRequest as AVAssetResourceLoadingRequestMBS)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 14.0 Yes No No No No
Function: Invoked to inform the delegate that a prior loading request has been cancelled.
Notes:
resourceLoader: The resource loader.
loadingRequest: The loading request that has been cancelled.

Previously issued loading requests can be cancelled when data from the resource is no longer required or when a loading request is superseded by new requests for data from the same resource.

For example, if to complete a seek operation it becomes necessary to load a range of bytes that's different from a range previously requested, the prior request may be cancelled while the delegate is still handling it.
Available in OS X v10.9 and later.

Feedback, Comments & Corrections

AVFoundationMBS.resourceLoaderShouldWaitForLoadingOfRequestedResource(resourceLoader as AVAssetResourceLoaderMBS, loadingRequest as AVAssetResourceLoadingRequestMBS) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
event AVFoundation MBS AVFoundation Plugin 14.0 Yes No No No No
Function: Asks the delegate if it wants to load the requested resource.
Notes:
resourceLoader: The resource loader object that is making the request.
loadingRequest: The loading request object that contains information about the requested resource.

Returns true if your delegate can load the resource specified by the loadingRequest parameter or false if it cannot.

The resource loader object calls this method when assistance is required of your code to load the specified resource. For example, the resource loader might call this method to load decryption keys that have been specified using a custom URL scheme.

Returning true from this method, implies only that the receiver will load, or at least attempt to load, the resource. In some implementations, the actual work of loading the resource might be initiated on another thread, running asynchronously to the resource loading delegate; whether the work begins immediately or merely soon is an implementation detail of the client application.

You can load the resource synchronously or asynchronously. In both cases, you must indicate success or failure of the operation by calling the finishLoadingWithResponse or finishLoadingWithError: method of the request object when you finish. If you load the resource asynchronously, you must also store a strong reference to the object in the loadingRequest parameter before returning from this method.

If you return false from this method, the resource loader treats the loading of the resource as having failed.
Available in OS X v10.9 and later.

Feedback, Comments & Corrections

AVFoundationMBS.SampleBufferDisplayLayerMediaDataWhenReady(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: Event called by AVSampleBufferDisplayLayerMBS.requestMediaDataWhenReady when media data is ready.
Notes: Tag is the value you passed when calling the original method.

Feedback, Comments & Corrections

AVFoundationMBS.videoCompositionShouldContinueValidatingAfterFindingEmptyTimeRange(videoComposition as AVVideoCompositionMBS, timeRange as CMTimeRangeMBS) 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: Reports a time range that has no corresponding video composition instruction.
Notes:
videoComposition: The video composition being validated.
timeRange: The time range that has no corresponding video composition instruction.

Return true if the video composition should continue validation in order to report additional problems that may exist, otherwise false.

Feedback, Comments & Corrections

AVFoundationMBS.videoCompositionShouldContinueValidatingAfterFindingInvalidTimeRangeInInstruction(videoComposition as AVVideoCompositionMBS, Instruction as AVVideoCompositionInstructionMBS) 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: Reports a video composition instruction with a time range that is invalid, that overlaps with the time range of a prior instruction, or that contains times earlier than the time range of a prior instruction.
Notes:
videoComposition: The video composition being validated.
videoCompositionInstruction: The video composition instruction.
Return true if the video composition should continue validation in order to report additional problems that may exist, otherwise false.

Feedback, Comments & Corrections

AVFoundationMBS.videoCompositionShouldContinueValidatingAfterFindingInvalidTrackIDInInstruction(videoComposition as AVVideoCompositionMBS, videoCompositionInstruction as AVVideoCompositionInstructionMBS, layerInstruction as AVVideoCompositionLayerInstructionMBS, asset as AVAssetMBS) 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: Reports a video composition layer instruction with a track ID that does not correspond either to the track ID used for the composition's animation tool or to a track of the asset specified in isValidForAsset.
Notes:
videoComposition: The video composition being validated.
videoCompositionInstruction: The video composition instruction.
layerInstruction: The layer instruction.
asset: The underlying asset.

Return true if the video composition should continue validation in order to report additional problems that may exist, otherwise false.

Feedback, Comments & Corrections

AVFoundationMBS.videoCompositionShouldContinueValidatingAfterFindingInvalidValueForKey(videoComposition as AVVideoCompositionMBS, key as string) 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: Reports that a key that has an invalid value.
Notes:
videoComposition: The video composition being validated.
key: The key being validated.

Return true if the video composition should continue validation in order to report additional problems that may exist, otherwise false.

Feedback, Comments & Corrections

AVFoundationMBS.WriteCGImageToFileCompleted(file as folderitem, type as string, image as Variant, options as dictionary, success 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 call to WriteCGImageToFile method finished.
Notes:
Image is a CGImageMBS.
Success property tells you whether or not the write was successful.

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

Feedback, Comments & Corrections

Previous items

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




Links
MBS Xojo Plugins