// Saves a snapshot optionally creating a new one if createIfMissing is true. Results in the saveSnapshotSucceeded/FailedEvent firing.
		public static void saveSnapshot( string snapshotName, bool createIfMissing, byte[] data, string description, GPGSnapshotConflictPolicy conflictPolicy = GPGSnapshotConflictPolicy.MostRecentlyModified )
		{
			if( Application.platform != RuntimePlatform.Android )
				return;

			_plugin.Call( "saveSnapshot", snapshotName, createIfMissing, data, description, (int)conflictPolicy );
		}
Exemplo n.º 2
0
        // Saves a snapshot optionally creating a new one if createIfMissing is true. Results in the saveSnapshotSucceeded/FailedEvent firing.
        public static void saveSnapshot(string snapshotName, bool createIfMissing, byte[] data, string description, GPGSnapshotConflictPolicy conflictPolicy = GPGSnapshotConflictPolicy.MostRecentlyModified)
        {
            if (Application.platform != RuntimePlatform.Android)
            {
                return;
            }

            _plugin.Call("saveSnapshot", snapshotName, createIfMissing, data, description, (int)conflictPolicy);
        }