Structure
Client
public struct Client: Equatable, Codable, CustomStringConvertible
A struct
defining all possible information used to identify the software and hardware combination of a logged in user.
Relationships
Nested Types
Client.Application
A
struct
defining all possible information about a (mock) Instagram mobile app.Client.Device
A
struct
defining all possible information about a (mock) device.
Conforms To
Codable
CustomStringConvertible
Equatable
Initializers
init(application:device:)
public init(application: Application, device: Device)
Init.
Parameters
Name | Type | Description |
---|---|---|
application | Application |
A valid |
device | Device |
A valid |
Properties
`default`
public static var `default`: Client = .current ?? .iPhone11ProMax
The default Client
. Defaults to current
, if available, otherwise iPhone11ProMax
.