Class GoogleCloudDataStorageModule
(Obsolete)
Inheritance
ScriptableSettingsBase
ScriptableSettingsBase<GoogleCloudDataStorageModule>
ScriptableSettings<GoogleCloudDataStorageModule>
GoogleCloudDataStorageModule
Inherited Members
ScriptableSettings<GoogleCloudDataStorageModule>.instance
ScriptableSettingsBase<GoogleCloudDataStorageModule>.k_HasCustomPath
ScriptableSettingsBase<GoogleCloudDataStorageModule>.s_Instance
ScriptableSettingsBase<GoogleCloudDataStorageModule>.GetFilePath()
ScriptableSettingsBase.k_PathExceptionMessage
ScriptableSettingsBase.OnLoaded()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.MARS.Providers.Google
Assembly: Unity.MARS.dll
Syntax
[ModuleOrder(-2147483648)]
[ScriptableSettingsPath("Assets/MARS/UserSettings")]
[MovedFrom("Unity.MARS")]
[Obsolete("MARS Cloud storage is obsolete")]
public class GoogleCloudDataStorageModule : ScriptableSettings<GoogleCloudDataStorageModule>, IModuleBehaviorCallbacks, IModule, IProvidesCloudDataStorage, IFunctionalityProvider
Methods
AuthenticatedGetRequest(string, string, Action<bool, string>)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public void AuthenticatedGetRequest(string uri, string authToken, Action<bool, string> callback)
Parameters
Type | Name | Description |
---|---|---|
string | uri | |
string | authToken | |
Action<bool, string> | callback |
CloudLoadAsync(string, Action<bool, long, byte[]>, ProgressCallback)
(Obsolete)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public void CloudLoadAsync(string key, Action<bool, long, byte[]> callback, ProgressCallback progress = null)
Parameters
Type | Name | Description |
---|---|---|
string | key | |
Action<bool, long, byte[]> | callback | |
ProgressCallback | progress |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
CloudLoadAsync(string, Action<bool, long, string>, ProgressCallback)
(Obsolete)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public void CloudLoadAsync(string key, Action<bool, long, string> callback, ProgressCallback progress = null)
Parameters
Type | Name | Description |
---|---|---|
string | key | |
Action<bool, long, string> | callback | |
ProgressCallback | progress |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
CloudLoadTextureAsync(string, LoadTextureCallback, ProgressCallback)
(Obsolete)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public void CloudLoadTextureAsync(string key, LoadTextureCallback callback, ProgressCallback progress = null)
Parameters
Type | Name | Description |
---|---|---|
string | key | |
LoadTextureCallback | callback | |
ProgressCallback | progress |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
CloudSaveAsync(string, byte[], Action<bool, long, string>, ProgressCallback)
(Obsolete)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public void CloudSaveAsync(string key, byte[] bytesObject, Action<bool, long, string> callback = null, ProgressCallback progress = null)
Parameters
Type | Name | Description |
---|---|---|
string | key | |
byte[] | bytesObject | |
Action<bool, long, string> | callback | |
ProgressCallback | progress |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
CloudSaveAsync(string, string, Action<bool, long, string>, ProgressCallback)
(Obsolete)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public void CloudSaveAsync(string key, string serializedObject, Action<bool, long, string> callback = null, ProgressCallback progress = null)
Parameters
Type | Name | Description |
---|---|---|
string | key | |
string | serializedObject | |
Action<bool, long, string> | callback | |
ProgressCallback | progress |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
GetAPIKey()
(Obsolete)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public string GetAPIKey()
Returns
Type | Description |
---|---|
string |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
GetProjectIdentifier()
(Obsolete)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public string GetProjectIdentifier()
Returns
Type | Description |
---|---|
string |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
IsConnected()
Get the current state of the connection to the cloud storage
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public bool IsConnected()
Returns
Type | Description |
---|---|
bool | True if the Cloud Storage is connected to this client, false otherwise. |
LoadLocalTextureAsync(string, LoadTextureCallback, ProgressCallback)
(Obsolete)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public void LoadLocalTextureAsync(string path, LoadTextureCallback callback, ProgressCallback progress = null)
Parameters
Type | Name | Description |
---|---|---|
string | path | |
LoadTextureCallback | callback | |
ProgressCallback | progress |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
SetAPIKey(string)
(Obsolete)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public void SetAPIKey(string key)
Parameters
Type | Name | Description |
---|---|---|
string | key |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
SetProjectIdentifier(string)
(Obsolete)
Declaration
[Obsolete("MARS Cloud storage is obsolete")]
public void SetProjectIdentifier(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id |
Exceptions
Type | Condition |
---|---|
NotImplementedException |
Implements
Unity.XRTools.ModuleLoader.IModuleBehaviorCallbacks
Unity.XRTools.ModuleLoader.IModule
Unity.XRTools.ModuleLoader.IFunctionalityProvider