# Fastboard API (/en/api-reference/api-ref/uikit-sdk/ios)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

This page provides the API reference for the Fastboard SDK.

      
  
      
    ## Understand the tech [#understand-the-tech-1]

    This section provides the API reference for the Fastboard SDK on iOS.

    ## Reference [#reference-1]

    ## Fastboard class [#fastboard-class-1]

    ### createFastRoom [#createfastroom-1]

    ```swift
    public class func createFastRoom(withFastRoomConfig config: FastRoomConfiguration)
    ```

    Create a `FastRoom` instance.

    ### FastRoomConfiguration [#fastroomconfiguration]

    ```swift
    public init(appIdentifier: String,
                     roomUUID: String,
                     roomToken: String,
                     region: Region,
                     userUID: String,
                     userPayload: FastUserPayload? = nil)
    ```

    ### Region [#region]

    * `CN`
    * `US`
    * `SG`
    * `IN`
    * `EU`

    ### FastUserPayload [#fastuserpayload-1]

    ```swift
    public class FastUserPayload: NSObject {
        let nickName: String?
        let avatar: String?
    }
    ```

    ## FastRoom class [#fastroom-class-1]

    ### joinRoom [#joinroom]

    ```swift
    public func joinRoom(completionHandler: ((Result<WhiteRoom, FastRoomError>)->Void)? = nil)
    ```

    ### disconnectRoom [#disconnectroom]

    ```swift
    public func disconnectRoom()
    ```

    ### insertImg [#insertimg]

    ```swift
    public func insertImg(_ src: URL, imageSize: CGSize)
    ```

    ### insertMedia [#insertmedia]

    ```swift
    public func insertMedia(_ src: URL, title: String, completionHandler: ((String)->Void)? = nil)
    ```

    ### insertPptx [#insertpptx-1]

    ```swift
    public func insertPptx(
         uuid: String,
         url: String,
         title: String,
         completionHandler: ((String)->Void)? = nil
     )
    ```

    ### insertStaticDocument [#insertstaticdocument]

    ```swift
    public func insertStaticDocument(_ pages: [WhitePptPage],
                                          title: String,
                                          completionHandler: ((String)->Void)? = nil)
    ```

    ### followSystemPencilBehavior [#followsystempencilbehavior]

    ```swift
    public static var followSystemPencilBehavior
    ```

    ## FastRoomThemeManager class [#fastroomthememanager-class]

    ### apply [#apply]

    ```swift
    public func apply(_ theme: FastRoomThemeAsset)
    ```

    
  
      
  
