FetchGlobalOrientationRequest

public struct FetchGlobalOrientationRequest : HTTPRequest

Fetch a device’s global orientation.

The global orientation can be a value between 0 and 360.

Initialization

  • Initialize a new instance.

    Declaration

    Swift

    public init(
        url: URL,
        token: String
    )

    Parameters

    url

    The device’s URL.

    token

    The device’s token.