MPILocationState

public struct MPILocationState : Codable

MPILocationState represents the state of MPILocation

  • type of the MPILocationState

    • Example: “coming-soon”

    Declaration

    Swift

    public var type: String
  • if the MPILocation is currently not available, start represents the start date of the MPILocation; otherwise, nil.

    • Example: “2019-09-01T04:00:00.000Z”

    Declaration

    Swift

    public var start: String?
  • end

    if the MPILocationhas an anticipated end date, end represents the end date of the MPILocation; otherwise, nil.

    • Example: “020-01-31T05:00:00.000Z”

    Declaration

    Swift

    public var end: String?