# HotkeyRecorderActions

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

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

The recorder controls that framework adapters return.

## Properties

### cancelRecording

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

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

Cancel recording and call onCancel

#### Returns

`void`

***

### commitRecording

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

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

Commit the recorded steps now (multi-step recordings)

#### Returns

`void`

***

### startRecording

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

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

Start recording a new hotkey

#### Returns

`void`

***

### stopRecording

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

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

Stop recording without calling onCancel

#### Returns

`void`
