ListResult
public final class ListResult
Contains the prefixes and items returned by a list call.
Summary
Public fields |
|
|---|---|
final List<StorageReference> |
|
final @Nullable String |
|
final List<StorageReference> |
Public methods |
|
|---|---|
@NonNull List<StorageReference> |
getItems()The items (files) returned by the |
@Nullable String |
Returns a token that can be used to resume a previous |
@NonNull List<StorageReference> |
The prefixes (folders) returned by the |
Extension functions |
|
|---|---|
final @NonNull List<@NonNull StorageReference> |
StorageKt.component1(@NonNull ListResult receiver)Destructuring declaration for |
final @NonNull List<@NonNull StorageReference> |
StorageKt.component2(@NonNull ListResult receiver)Destructuring declaration for |
final String |
StorageKt.component3(@NonNull ListResult receiver)Destructuring declaration for |
Public fields
Public methods
getItems
public @NonNull List<StorageReference> getItems()
The items (files) returned by the list() operation.
| Returns | |
|---|---|
@NonNull List<StorageReference> |
A list of items (files). |
getPageToken
public @Nullable String getPageToken()
Returns a token that can be used to resume a previous list() operation. null indicates that there are no more results.
getPrefixes
public @NonNull List<StorageReference> getPrefixes()
The prefixes (folders) returned by the list() operation.
| Returns | |
|---|---|
@NonNull List<StorageReference> |
A list of prefixes (folders). |
Extension functions
StorageKt.component1
public final @NonNull List<@NonNull StorageReference> StorageKt.component1(@NonNull ListResult receiver)
Destructuring declaration for ListResult to provide its items.
| Returns | |
|---|---|
@NonNull List<@NonNull StorageReference> |
the items of the |
StorageKt.component2
public final @NonNull List<@NonNull StorageReference> StorageKt.component2(@NonNull ListResult receiver)
Destructuring declaration for ListResult to provide its prefixes.
| Returns | |
|---|---|
@NonNull List<@NonNull StorageReference> |
the prefixes of the |
StorageKt.component3
public final String StorageKt.component3(@NonNull ListResult receiver)
Destructuring declaration for ListResult to provide its pageToken.
| Returns | |
|---|---|
String |
the pageToken of the |