We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mobile-dev-inc/Maestro'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
SetOrientationRequest.swift•639 B
import Foundation
import UIKit
struct SetOrientationRequest: Codable {
let orientation: Orientation
enum Orientation: String, Codable {
case portrait
case landscapeLeft
case landscapeRight
case upsideDown
var uiDeviceOrientation: UIDeviceOrientation {
switch self {
case .portrait:
return .portrait
case .landscapeLeft:
return .landscapeLeft
case .landscapeRight:
return .landscapeRight
case .upsideDown:
return .portraitUpsideDown
}
}
}
}