Zoom Video SDK for React - v0.0.2
    Preparing search index...

    Function useMyself

    • Hook to access the local user in the current session

      Returns Participant | null

      The local user object from @zoom/videosdk

      const myself = useMyself();

      return (
      <div>
      {myself.userName} - {myself.bVideoOn ? 'Video On' : 'Video Off'}
      </div>
      );