Clip Share Fragment Result Listener
Functions
Called when the user finished trimming a clip and the clip was created. This is not a terminal state and the user can continue to trim another clip if desired. You should decide on your own if you want to dismiss the ClipShareFragment in this case or give the user some indication that the clip was created.
Called when the trimmed clip could not be created for some reason. This is not a terminal state and the user could try again. Decide on your own if you want to dismiss the ClipShareFragment on your own.
Called when the underlying clip for the provided snap result failed loading. This is a terminal state and you should most likely dismiss the ClipShareViewController and navigate back to Snap UI or some other screen of your application. Note:** if you want to dismiss the ClipShareFragment, you need to do so. ClipShareFragment does not dismiss itself.
Called when the underlying clip for the provided snap result was loaded but the clip is too short. The user can try snapping again after a short period if the available clip is longer. This is a terminal state and you should most likely dismiss the ClipShareViewController and navigate back to Snap UI or some other screen of your application. Note:** if you want to dismiss the ClipShareFragment, you need to do so. ClipShareFragment does not dismiss itself.