# HotkeyRecorderActions

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

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

The recorder controls that framework adapters return.

## Properties

### cancelRecording

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

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

Cancel recording and call onCancel

#### Returns

`void`

***

### commitRecording

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

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

Commit the recorded steps now (multi-step recordings)

#### Returns

`void`

***

### startRecording

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

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

Start recording a new hotkey

#### Returns

`void`

***

### stopRecording

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

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

Stop recording without calling onCancel

#### Returns

`void`
