public class

StorageTask.SnapshotBase

extends Object
implements StorageTask.ProvideError
java.lang.Object
   ↳ com.google.firebase.storage.StorageTask.SnapshotBase
Known Direct Subclasses

Class Overview

Base class for state.

Summary

Public Constructors
StorageTask.SnapshotBase(Exception error)
For some reason the @NonNull/@Nullable annotations here trigger a javac bug that results in: "bad RuntimeInvisibleParameterAnnotations attribute" https://bugs.openjdk.java.net/browse/JDK-8066725
Public Methods
Exception getError()
Returns the last error encountered.
StorageReference getStorage()
Returns the target of the upload.
StorageTask<TResult> getTask()
Returns the StorageTask for this state.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.firebase.storage.StorageTask.ProvideError

Public Constructors

public StorageTask.SnapshotBase (Exception error)

For some reason the @NonNull/@Nullable annotations here trigger a javac bug that results in: "bad RuntimeInvisibleParameterAnnotations attribute" https://bugs.openjdk.java.net/browse/JDK-8066725

Parameters
error Exception

Public Methods

public Exception getError ()

Returns the last error encountered.

Returns
Exception

public StorageReference getStorage ()

Returns the target of the upload.

Returns
StorageReference

public StorageTask<TResult> getTask ()

Returns the StorageTask for this state.

Returns
StorageTask<TResult>