Hospitality

To track an event using the hospitality package, you can use the corresponding method on the tracker instance. For example:

Example

val properties = HospitalityCheckedInProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.checkedIn(properties)

Methods

checkedIn()

val properties = HospitalityCheckedInProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.checkedIn(properties)

HospitalityCheckedInProperties

checkedOut()

val properties = HospitalityCheckedOutProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.checkedOut(properties)

HospitalityCheckedOutProperties

reservationCreated()

val properties = HospitalityReservationCreatedProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.reservationCreated(properties)

HospitalityReservationCreatedProperties

reservationUpdated()

val properties = HospitalityReservationUpdatedProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.reservationUpdated(properties)

HospitalityReservationUpdatedProperties

reservationCanceled()

val properties = HospitalityReservationCanceledProperties(
    adultsCount = adultsCount
)
bird.tracker.hospitality.reservationCanceled(properties)

HospitalityReservationCanceledProperties

Last updated