BBShortsState
class BBShortsState
Reactive state holder for BBNativeShortsView.
Create with @State private var shortsState = BBShortsState().
Important: Call
destroy()from.onDisappearto ensure timely cleanup of SDK resources, or use the convenienceBBNativeShorts/init(jsonUrl:options:)initializer for automatic lifecycle management.
Functions
destroy
func destroy()
Destroy the Shorts view and release resources.