Class AN_Gallery
Entry point for the gallery API.
Inheritance
System.Object
    AN_Gallery
  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.Android.Gallery
Assembly: cs.temp.dll.dll
Syntax
public static class AN_GalleryMethods
SaveImageToGallery(Texture2D, String, Action<AN_GallerySaveResult>)
Saves images to the device gallery.
Declaration
public static void SaveImageToGallery(Texture2D image, string name, Action<AN_GallerySaveResult> callback)Parameters
| Type | Name | Description | 
|---|---|---|
| Texture2D | image | Image that needs to be saved | 
| System.String | name | Image name. If image with the same name already exists, it will be replaced | 
| Action<AN_GallerySaveResult> | callback | Operation callback. | 
SaveImageToGallery(Texture2D, String, String, AN_GalleryFormat, Action<AN_GallerySaveResult>)
Saves images to the device gallery.
Declaration
public static void SaveImageToGallery(Texture2D image, string name, string appDirectory, AN_GalleryFormat format, Action<AN_GallerySaveResult> callback)Parameters
| Type | Name | Description | 
|---|---|---|
| Texture2D | image | Image that needs to be saved | 
| System.String | name | Image name. If image with the same name already exists, it will be replaced | 
| System.String | appDirectory | app directory name | 
| AN_GalleryFormat | format | save format | 
| Action<AN_GallerySaveResult> | callback | Operation callback. |