---
name: "openOutdoorCyclingNavigation"
mode: "kit"
versionRequirements:
  - { name: "@ray-js/ray", version: "1.4.29" }
title: "openOutdoorCyclingNavigation - 跳转骑行导航页面"
---

## openOutdoorCyclingNavigation

> [VERSION] @ray-js/ray >= 1.4.29

> 💡 当前功能仅在智慧出行 App 开通使用，开发者工具环境无法使用，需要打包后或真机调试使用

### 描述

跳转骑行导航页面

### 参数

`Params`

| 参数 | 类型 | 必填 | 默认值 | 描述 |
| --- | --- | --- | --- | --- |
| `params` | `OpenOutdoorCyclingNavigationParams` | 否 | - | 请求参数 |

### 引用对象

##### `type` OpenOutdoorCyclingNavigationParams

| 属性 | 类型 | 描述 |
| --- | --- | --- |
| `devId` | `string` |  |

##### `type` ICommon

| 属性 | 类型 | 描述 |
| --- | --- | --- |
| `success` | `() => void` | 接口调用成功的回调函数 |
| `fail` | `(err: ErrorMsg) => void` | 接口调用失败的回调函数 |
| `complete` | `() => void` | 接口调用结束的回调函数（调用成功、失败都会执行） |

##### `type` ErrorMsg

| 属性 | 类型 | 描述 |
| --- | --- | --- |
| `errorMsg` | `string` | 错误信息 |
| `errorCode` | `string \| number` | 错误码 |
| `innerError` | `Object` | 错误扩展 |

##### `type` ErrorMsg.innerError

| 属性 | 类型 | 描述 |
| --- | --- | --- |
| `errorCode` | `string \| number` | 错误扩展码 |
| `errorMsg` | `string` | 错误扩展信息 |


### 示例代码

#### 基础用法

```ts
import { openOutdoorCyclingNavigation } from '@ray-js/ray';

openOutdoorCyclingNavigation({
  devId: 'your_device_id',
}).then(() => {
  console.log('已跳转骑行导航页面');
});
```
