Structure
Client.Application
struct Application: Equatable, Codable, CustomStringConvertible
A struct
defining all possible information about a (mock) Instagram mobile app.
Relationships
Member Of
Client
A
struct
defining all possible information used to identify the software and hardware combination of a logged in user.
Conforms To
Codable
CustomStringConvertible
Equatable
Properties
version
public let version: String
The client's version. Android devices' versions end with " Android".
Methods
android(_:code:)
public static func android(_ version: String = "160.1.0.31.120", code: String = "246979827") -> Application
Create an Android client.
Parameters
Name | Type | Description |
---|---|---|
version | String |
A valid |
code | String |
A valid |
Returns
A valid Client
.
iOS(_:code:)
public static func iOS(_ version: String = "160.1.0.31.120", code: String = "246979827") -> Application
Create an iOS client.
Parameters
Name | Type | Description |
---|---|---|
version | String |
A valid |
code | String |
A valid |
Returns
A valid Client
.