getVenue

abstract suspend fun getVenue(id: String): Venue

Retrieves a venue by its ID asynchronously.

Return

The Venue object with the specified ID.

Parameters

id

The ID of the venue to retrieve.


abstract fun getVenue(id: String, completionCallback: CompletionCallback<Venue>)

Retrieves a venue by its ID asynchronously and provides a completion callback.

Parameters

id

The ID of the venue to retrieve.

completionCallback

The callback function to be invoked with the Venue object.