Structures

The following structures are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public struct MicrodramaConfig
  • Undocumented

    See more

    Declaration

    Swift

    public struct UIFlags
  • Undocumented

    See more

    Declaration

    Swift

    public struct Theme
  • A structure that defines a typography configuration with support for regular, bold, and italic font families.

    See more

    Declaration

    Swift

    public struct Typography
  • Undocumented

    See more

    Declaration

    Swift

    public struct MicrodramaMetadata
  • Undocumented

    See more

    Declaration

    Swift

    public struct ImageMetadata
  • Undocumented

    See more

    Declaration

    Swift

    public struct MicrodramaVideo : Identifiable, Equatable
  • Undocumented

    See more

    Declaration

    Swift

    public struct PlaybackStats
  • MicrodramaView is the main SwiftUI view for displaying a microdrama video experience. It automatically detects full screen vs. minimized mode based on its rendered size and adapts UI accordingly.

    See more

    Declaration

    Swift

    @MainActor
    public struct MicrodramaView : View
  • SecureView wraps SwiftUI content in a secure UITextField-based UIView to prevent screen capture.

    See more

    Declaration

    Swift

    @MainActor
    public struct SecureView<Content> : UIViewRepresentable where Content : View