VenueService

abstract class VenueService(context: Context) : BaseService

An abstract class representing a VenueService, which provides methods for retrieving venue information. It extends the BaseService class and requires a context parameter for initialization.

Parameters

context

The context used for initialization and performing operations.

Inheritors

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract suspend fun getVenue(id: String): Venue

Retrieves a venue by its ID asynchronously.

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

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

Link copied to clipboard
abstract suspend fun getVenues(): List<Venue>

Retrieves a list of venues asynchronously.

abstract fun getVenues(completionCallback: CompletionCallback<List<Venue>>)

Retrieves a list of venues asynchronously and provides a completion callback.