Contents

legibleMenuController(_:didRequestCaptionPreviewForProfileID:)

Declaration

optional func legibleMenuController(_ menuController: AVLegibleMediaOptionsMenuController, didRequestCaptionPreviewForProfileID profileID: String)

Parameters

  • menuController:

    The legible options menu controller.

  • profileID:

    MACaptionAppearance profile ID as an NSString for the caption style to preview

Discussion

Called when a caption preview should be displayed

The client should display a caption preview using the MACaptionAppearance profile ID provided. The client is responsible for rendering and positioning the preview.

See Also

Responding to menu changes