Structures

The following structures are available globally.

  • Defines OrangeChat SDK configuration

    See more

    Declaration

    Swift

    public struct OrangeChatConfiguration
  • A value representing an error

    See more

    Declaration

    Swift

    public struct OrangeChatError : Error
    extension OrangeChatError: Equatable
  • A value representing the key of a database node.

    The order of the keys is defined as follows:

    • Keys that are parsable as integers are ordered before all other keys.
    • Integer keys (with no leading 0) are ordered following the natural order on integers.
    • Integer keys representing the same number are ordered from the one with the least leading 0 to the one with the most leading 0.
    • All other keys are ordered in lexicographic order.

    Example:

    0 < 1 < 01 < 001 < 7 < 09 < 72 < 521 < 1000 < aa < b < bb
    
    See more

    Declaration

    Swift

    public struct OrangeChatKey : Hashable
    extension OrangeChatKey: Comparable
    extension OrangeChatKey: Codable
  • Declaration

    Swift

    public struct DataMessageFile : Codable