emitSessionId
Emits the sessionId when it is generated.
Last updated
Emits the sessionId when it is generated.
Notifies the session identifier as soon as it is created.
Event: emitSessionId
Type: FacephiSdkProviderCustomEvent<string> | CustomEvent<string>
provider.addEventListener('emitSessionId', onEmitSessionId);detail: stringAllows you to associate the current SDK session with your system.
<facephi-sdk-provider
apikey={process.env.FACEPHI_SDK_APIKEY}
onEmitSessionId={onEmitSessionId}
/>Last updated