MediaSFU React Native
    Preparing search index...

    Interface ShareEventModalOptions

    Options for configuring ShareEventModal.

    ShareEventModalOptions

    Modal Control:

    interface ShareEventModalOptions {
        backgroundColor?: string;
        isShareEventModalVisible: boolean;
        onShareEventClose: () => void;
        shareButtons?: boolean;
        position?: "center" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
        roomName: string;
        adminPasscode?: string;
        islevel?: string;
        eventType: EventType;
        localLink?: string;
        style?: StyleProp<ViewStyle>;
        renderContent?: (
            options: {
                defaultContent: Element;
                dimensions: { width: number; height: number };
            },
        ) => Element;
        renderContainer?: (
            options: {
                defaultContainer: Element;
                dimensions: { width: number; height: number };
            },
        ) => Element;
    }
    Index

    Properties

    backgroundColor?: string

    Card background color.

    isShareEventModalVisible: boolean

    Controls modal visibility.

    onShareEventClose: () => void

    Callback fired when closing the modal.

    Appearance:

    shareButtons?: boolean

    Determines if share buttons are displayed.

    position?: "center" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight"

    Anchor location for the modal.

    roomName: string

    Meeting identifier displayed in the modal.

    adminPasscode?: string

    Optional admin passcode.

    islevel?: string

    Current user level (e.g., '2' for admins).

    eventType: EventType

    Meeting type used by share buttons.

    localLink?: string

    Optional vanity link for local deployments.

    Advanced Render Overrides:

    style?: StyleProp<ViewStyle>

    Additional container styling.

    Share Content:

    renderContent?: (
        options: {
            defaultContent: Element;
            dimensions: { width: number; height: number };
        },
    ) => Element

    Overrides the inner modal layout.

    renderContainer?: (
        options: {
            defaultContainer: Element;
            dimensions: { width: number; height: number };
        },
    ) => Element

    Overrides the surrounding container implementation.