---
title: navigationDirection
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/assistantschemas/booksenum/navigationdirection
---

# navigationDirection

The navigation direction of a book.

## Declaration

```swift
var navigationDirection: some AssistantSchemas.Enum { get }
```

## Overview

Overview Use Swift macros that generate additional properties and add protocol conformance for your app enum implementation. The following example shows an app enum that conforms to the .books.navigationDirection schema: @AppEnum(schema: .books.navigationDirection) enum BookNavigationDirection: AppEnum {     case next     case previous

static var caseDisplayRepresentations: [BookNavigationDirection: AppIntents.DisplayRepresentation] = [         .next: "Next",         .previous: "Previous",     ] } For more information about the .books app intent domain, see doc:Making-ebook-actions-available-to-siri-and-apple-intelligence. For general information about app intent domains, see doc:Integrating-actions-with-siri-and-apple-intelligence.
