ListResult

class ListResult


Contains the prefixes and items returned by a list call.

Summary

Extension functions

operator List<StorageReference>

Destructuring declaration for ListResult to provide its items.

operator List<StorageReference>

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

operator List<StorageReference>

Destructuring declaration for ListResult to provide its prefixes.

operator List<StorageReference>

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

operator String?

Destructuring declaration for ListResult to provide its pageToken.

operator String?

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

Public properties

items

val items: (Mutable)List<StorageReference!>!

pageToken

val pageTokenString?

prefixes

val prefixes: (Mutable)List<StorageReference!>!

Extension functions

component1

operator fun ListResult.component1(): List<StorageReference>

Destructuring declaration for ListResult to provide its items.

Returns
List<StorageReference>

the items of the ListResult

component1

operator fun ListResult.component1(): List<StorageReference>

Destructuring declaration for ListResult to provide its items.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-storage-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

Returns
List<StorageReference>

the items of the ListResult

component2

operator fun ListResult.component2(): List<StorageReference>

Destructuring declaration for ListResult to provide its prefixes.

Returns
List<StorageReference>

the prefixes of the ListResult

component2

operator fun ListResult.component2(): List<StorageReference>

Destructuring declaration for ListResult to provide its prefixes.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-storage-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

Returns
List<StorageReference>

the prefixes of the ListResult

component3

operator fun ListResult.component3(): String?

Destructuring declaration for ListResult to provide its pageToken.

Returns
String?

the pageToken of the ListResult

component3

operator fun ListResult.component3(): String?

Destructuring declaration for ListResult to provide its pageToken.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-storage-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

Returns
String?

the pageToken of the ListResult