# HotkeyRecorderActions

<!-- DO NOT EDIT: this page is autogenerated from the type comments -->

Defined in: [hotkey-recorder.ts:137](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-recorder.ts#L137)

The recorder controls that framework adapters return.

## Properties

### cancelRecording

```ts
cancelRecording: () => void;
```

Defined in: [hotkey-recorder.ts:143](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-recorder.ts#L143)

Cancel recording and call onCancel

#### Returns

`void`

***

### commitRecording

```ts
commitRecording: () => void;
```

Defined in: [hotkey-recorder.ts:145](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-recorder.ts#L145)

Commit the recorded steps now (multi-step recordings)

#### Returns

`void`

***

### startRecording

```ts
startRecording: () => void;
```

Defined in: [hotkey-recorder.ts:139](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-recorder.ts#L139)

Start recording a new hotkey

#### Returns

`void`

***

### stopRecording

```ts
stopRecording: () => void;
```

Defined in: [hotkey-recorder.ts:141](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/src/hotkey-recorder.ts#L141)

Stop recording without calling onCancel

#### Returns

`void`
