LibraryControllerDelegate
@objc
public protocol LibraryControllerDelegateUse this delegate to handle events that occur in the LibraryController.
- 
                  
                  This will be called when the Cancel button is pressed. DeclarationSwift @objc optional func libraryControllerDidCancel(_ libraryController: LibraryController)ParameterslibraryControllerThe controller responsible for calling this method. 
- 
                  
                  This will be called when the Next button is pressed. DeclarationSwift @objc optional func libraryController(_ libraryController: LibraryController, didFinishWithSession session: Session, withSegment segment: SessionVideoSegment?)ParameterslibraryControllerThe controller responsible for calling this method. sessionThe session that was generated by the LibraryController. IfshowsEditControllerWhenDoneis false, you are responsible for destroying the session if you do not want it to persist. If it is true, destroying the session will result in undocumented behavior.segmentThis will be passed if the user selected a specific segment from the session. This will only happen if splitVideoDraftsIntoSegmentsis true.
- 
                  
                  This will be called when the Next button is pressed and showsEditControllerWhenDoneis true. If you wish to make any additional customizations to the ‘EditController’ before it is pushed, you may do so here.DeclarationSwift @objc optional func libraryController(_ libraryController: LibraryController, willShowEditController editController: EditController, withSession session: Session)ParameterslibraryControllerThe controller responsible for calling this method. editControllerThe new EditControllerthat will be pushed onto the navigation stack.sessionThe session that was generated by the LibraryControllerand will be passed to theEditController. Destroying the session will result in undocumented behavior.
 View on GitHub
            View on GitHub
           LibraryControllerDelegate Protocol Reference
      LibraryControllerDelegate Protocol Reference