Hiyve Components - v1.0.0
    Preparing search index...

    Interface UseJoinTokenOptions

    Options for the useJoinToken hook.

    interface UseJoinTokenOptions {
        autoValidate?: boolean;
        onError?: (error: JoinTokenError) => void;
        onJoined?: () => void;
        onValidated?: (roomName: string, isActive: boolean) => void;
    }
    Index

    Properties

    autoValidate?: boolean

    Automatically validate the token on mount

    onError?: (error: JoinTokenError) => void

    Callback when an error occurs

    onJoined?: () => void

    Callback when room is successfully joined

    onValidated?: (roomName: string, isActive: boolean) => void

    Callback when token is successfully validated