Class ISN_PhotoAlbum
Photo Album functions.
Inheritance
System.Object
ISN_PhotoAlbum
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.UIKit
Assembly: cs.temp.dll.dll
Syntax
public static class ISN_PhotoAlbum
Methods
SaveScreenshotToCameraRoll(Action<SA_Result>)
Saves the screen screenshot to the saved photos album.
Declaration
public static void SaveScreenshotToCameraRoll(Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<SA_Result> | callback | Callback. |
UIImageWriteToSavedPhotosAlbum(Texture2D, Action<SA_Result>)
Adds the specified image to the user’s Camera Roll album.
Declaration
public static void UIImageWriteToSavedPhotosAlbum(Texture2D texture, Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
Texture2D | texture | The image to write to the Camera Roll album. |
Action<SA_Result> | callback | The callback to be called after the image has been written to the Camera Roll album. |
UISaveVideoAtPathToSavedPhotosAlbum(String, Action<SA_Result>)
Adds the movie at the specified path to the user’s Camera Roll album.
Declaration
public static void UISaveVideoAtPathToSavedPhotosAlbum(string videoPath, Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
System.String | videoPath | The filesystem path to the movie file you want to save to the Camera Roll album. |
Action<SA_Result> | callback | The callback to be called after the movie has been written to the Camera Roll album. |
UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(String)
Returns a Boolean value indicating whether the specified video can be saved to user’s Camera Roll album.
Declaration
public static bool UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(string videoPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | videoPath | The filesystem path to the movie file you want to save. |
Returns
Type | Description |
---|---|
System.Boolean |
|