# HotkeyRecorderActions

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

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

The recorder controls that framework adapters return.

## Properties

### cancelRecording

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

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

Cancel recording and call onCancel

#### Returns

`void`

***

### commitRecording

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

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

Commit the recorded steps now (multi-step recordings)

#### Returns

`void`

***

### startRecording

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

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

Start recording a new hotkey

#### Returns

`void`

***

### stopRecording

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

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

Stop recording without calling onCancel

#### Returns

`void`
