spiegel-keyman/ios/engine/KMEI/KeymanEngine/Classes/Model/Language.swift
Randy Boring 337c3128dd installed language settings show keyboards, two switches, and current model
shows keyboard and model info
deletes keyboard and model from their info views
2019-06-06 10:39:37 -05:00

30 lines
661 B
Swift

//
// Language.swift
// KeymanEngine
//
// Created by Gabriel Wong on 2017-10-24.
// Copyright © 2017 SIL International. All rights reserved.
//
import Foundation
/// Language object for Keyman Cloud API 4.0.
public struct Language: Codable {
/// Name of language.
public let name: String
/// BCP-47 language code.
public let id: String
/// Corresponding Keyboard objects.
public let keyboards: [Keyboard]?
/// Corresponding lexical models.
public let lexicalModels: [LexicalModel]?
/// Font for input fields (and OSK if `oskFont` is not present).
public let font: Font?
/// Font for the OSK.
public let oskFont: Font?
}