Platforms to show: All Mac Windows Linux Cross-Platform
Back to iOSPictureMBS module.
iOSPictureMBS.SaveImageAtPathToSavedPhotosAlbum(ImageFile as FolderItem, CompletionDelegate as ImageSaveCompletedMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Graphics & Pictures | MBS Picture Plugin | 21.1 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
ImageFile: The image file to write to the Camera Roll album.
CompletionDelegate: Optionally, the delegate which should be called after the image has been written to the Camera Roll album.
The use of the CompletionDelegate parameter is optional and necessary only if you want to be notified asynchronously when the function finishes writing the image to the user’s Camera Roll or Saved Photos album. If you do not want to be notified, pass nil for these parameters.
When used on an iOS device without a camera, this method adds the image to the Saved Photos album rather than to the Camera Roll album.
See also:
iOSPictureMBS.SaveImageAtPathToSavedPhotosAlbum(ImagePath as String, CompletionDelegate as ImageSaveCompletedMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Graphics & Pictures | MBS Picture Plugin | 21.1 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
ImagePath: The image path to write to the Camera Roll album.
CompletionDelegate: Optionally, the delegate which should be called after the image has been written to the Camera Roll album.
The use of the CompletionDelegate parameter is optional and necessary only if you want to be notified asynchronously when the function finishes writing the image to the user’s Camera Roll or Saved Photos album. If you do not want to be notified, pass nil for these parameters.
When used on an iOS device without a camera, this method adds the image to the Saved Photos album rather than to the Camera Roll album.
See also:
iOSPictureMBS.SaveVideoAtPathToSavedPhotosAlbum(VideoFile as FolderItem, CompletionDelegate as VideoSaveCompletedMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Graphics & Pictures | MBS Picture Plugin | 21.1 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
videoPath: The filesystem path to the movie file you want to save to the Camera Roll album.
CompletionDelegate: Optionally, the delegate which should be called after the movie has been written to the Camera Roll album.
Before calling this function, call the VideoAtPathIsCompatibleWithSavedPhotosAlbum function to determine if it is possible to save movies to the Camera Roll album. For a code example, refer to Camera Programming Topics for iOS.
The use of the CompletionDelegate parameter is optional and necessary only if you want to be notified asynchronously when the function finishes writing the movie to the user’s Camera Roll or Saved Photos album. If you do not want to be notified, pass nil for these parameters.
When used on an iOS device without a camera, this method adds the movie to the Saved Photos album rather than to the Camera Roll album.
See also:
iOSPictureMBS.SaveVideoAtPathToSavedPhotosAlbum(VideoPath as String, CompletionDelegate as VideoSaveCompletedMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Graphics & Pictures | MBS Picture Plugin | 21.1 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
videoPath: The filesystem path to the movie file you want to save to the Camera Roll album.
CompletionDelegate: Optionally, the delegate which should be called after the movie has been written to the Camera Roll album.
Before calling this function, call the VideoAtPathIsCompatibleWithSavedPhotosAlbum function to determine if it is possible to save movies to the Camera Roll album. For a code example, refer to Camera Programming Topics for iOS.
The use of the CompletionDelegate parameter is optional and necessary only if you want to be notified asynchronously when the function finishes writing the movie to the user’s Camera Roll or Saved Photos album. If you do not want to be notified, pass nil for these parameters.
When used on an iOS device without a camera, this method adds the movie to the Saved Photos album rather than to the Camera Roll album.
See also:
iOSPictureMBS.VideoAtPathIsCompatibleWithSavedPhotosAlbum(VideoFile as FolderItem) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Graphics & Pictures | MBS Picture Plugin | 21.1 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
VideoFile: The folderitem to the movie file you want to save.
Returns true if the video can be saved to the Camera Roll album or false if it cannot.
Not all devices are able to play video files placed in the user’s Camera Roll album. Before attempting to save a video, call this function and check its return value to ensure that saving the video is supported for the current device. For a code example, refer to Camera Programming Topics for iOS.
When used on an iOS device without a camera, this method indicates whether the specified movie can be saved to the Saved Photos album rather than to the Camera Roll album.
See also:
iOSPictureMBS.VideoAtPathIsCompatibleWithSavedPhotosAlbum(VideoPath as String) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Graphics & Pictures | MBS Picture Plugin | 21.1 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
videoPath: The filesystem path to the movie file you want to save.
Returns true if the video can be saved to the Camera Roll album or false if it cannot.
Not all devices are able to play video files placed in the user’s Camera Roll album. Before attempting to save a video, call this function and check its return value to ensure that saving the video is supported for the current device. For a code example, refer to Camera Programming Topics for iOS.
When used on an iOS device without a camera, this method indicates whether the specified movie can be saved to the Saved Photos album rather than to the Camera Roll album.
See also:
iOSPictureMBS.WriteImageToSavedPhotosAlbum(Pic as Picture, CompletionDelegate as ImageSaveCompletedMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Graphics & Pictures | MBS Picture Plugin | 21.1 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Pic: The image to write to the Camera Roll album.
CompletionDelegate: Optionally, the delegate which should be called after the image has been written to the Camera Roll album.
The use of the CompletionDelegate parameter is optional and necessary only if you want to be notified asynchronously when the function finishes writing the image to the user’s Camera Roll or Saved Photos album. If you do not want to be notified, pass nil for these parameters.
When used on an iOS device without a camera, this method adds the image to the Saved Photos album rather than to the Camera Roll album.
Some examples using this method:
The items on this page are in the following plugins: MBS Picture Plugin.