# NativeCommandsSender

## setRoot

`setRoot(commandId: string, layout: object): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L9)

---

## setDefaultOptions

`setDefaultOptions(options: object): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L13)

---

## mergeOptions

`mergeOptions(componentId: string, options: object): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L17)

---

## push

`push(commandId: string, onComponentId: string, layout: object): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L21)

---

## pop

`pop(commandId: string, componentId: string, options: object): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L25)

---

## popTo

`popTo(commandId: string, componentId: string): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L29)

---

## popToRoot

`popToRoot(commandId: string, componentId: string): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L33)

---

## setStackRoot

`setStackRoot(commandId: string, onComponentId: string, layout: object): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L37)

---

## showModal

`showModal(commandId: string, layout: object): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L41)

---

## dismissModal

`dismissModal(commandId: string, componentId: string): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L45)

---

## dismissAllModals

`dismissAllModals(commandId: string): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L49)

---

## showOverlay

`showOverlay(commandId: string, layout: object): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L53)

---

## dismissOverlay

`dismissOverlay(commandId: string, componentId: string): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L57)

---

## getLaunchArgs

`getLaunchArgs(commandId: string): any`

[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/adapters/NativeCommandsSender.ts#L61)

---


