fromVenueResponse

fun fromVenueResponse(response: MPIVenueResponse): MPIData?

This is a static method that converts an MPIVenueResponse object into an MPIData object where data can be accessed

Return

an optional MPIData (returns nil if the conversion fails)

Parameters

response

an MPIVenueResponse object that can be converted into an MPIData object

fun fromVenueResponse(response: String): MPIData?

This is a static method that converts an venue response string into an MPIData object where data can be accessed

Return

an optional MPIData (returns nil if the conversion fails)

Parameters

response

a venue response string that can be converted into an MPIData object