> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# meetingSessionState()

> Returns the current meeting session state, including shared data and network topology.

`meetingSessionState()`

Returns any shared data set via [`setMeetingSessionData()`](/reference/react-native/instance-methods/set-meeting-session-data) and the current network topology.

This method is synchronous — it does not return a Promise.

## Return value

Returns `DailyMeetingSessionState`:

<ResponseField name="data" type="unknown">
  Shared session data set by any participant via `setMeetingSessionData()`.
</ResponseField>

<ResponseField name="topology" type="string">
  Current network topology: `'sfu'`, `'peer'`, or `'none'`.
</ResponseField>

## Example

```javascript theme={null}
const { data, topology } = call.meetingSessionState();
console.log('Shared data:', data);
console.log('Topology:', topology);
```

## See also

<CardGroup>
  <Card title="Methods" icon="code" iconType="solid">
    * [setMeetingSessionData()](/reference/react-native/instance-methods/set-meeting-session-data)
    * [meetingSessionSummary()](/reference/react-native/instance-methods/meeting-session-summary)
  </Card>

  <Card title="Events" icon="bolt" iconType="solid">
    * [meeting-session-state-updated](/reference/react-native/events/messaging-events#meeting-session-state-updated)
  </Card>
</CardGroup>
