Peril

public final class Peril: NSObject

Natural event that Peril groups can contain. If users are registered to a Peril groups, they will be notified about upcoming perils nearby them or their specified location.

To get all perils from a group, call getAllPerilsForPerilGroup from AlertingService instance, after it was set up with cliend id and secret.

  • Short describtion of peril.

    Declaration

    Swift

    public var tooltip: String?
  • Describtion of peril.

    Declaration

    Swift

    public var aDescription: String?
  • id

    Peril id.

    Declaration

    Swift

    public var id: String?
  • Full peril name.

    Declaration

    Swift

    public var longName: String?
  • Short peril name.

    Declaration

    Swift

    public var shortName: String?
  • Color assigned to this peril.

    Declaration

    Swift

    public var color: String?