|
| 1 | +<a name="LaunchApp"></a> |
| 2 | + |
| 3 | +## LaunchApp |
| 4 | +**Kind**: global class |
| 5 | + |
| 6 | +* [LaunchApp](#LaunchApp) |
| 7 | + * [new LaunchApp(appName, packageName, deepLink)](#new_LaunchApp_new) |
| 8 | + * [.setToken(token)](#LaunchApp+setToken) |
| 9 | + * [.getToken()](#LaunchApp+getToken) ⇒ <code>string</code> |
| 10 | + * [.setAppName(appName)](#LaunchApp+setAppName) |
| 11 | + * [.setPackageName(packageName)](#LaunchApp+setPackageName) |
| 12 | + * [.setDeepLink(deepLink)](#LaunchApp+setDeepLink) |
| 13 | + |
| 14 | +<a name="new_LaunchApp_new"></a> |
| 15 | + |
| 16 | +### new LaunchApp(appName, packageName, deepLink) |
| 17 | +LaunchApp构造函数 |
| 18 | + |
| 19 | + |
| 20 | +| Param | Type | Description | |
| 21 | +| --- | --- | --- | |
| 22 | +| appName | <code>string</code> | 应用的名称 | |
| 23 | +| packageName | <code>string</code> | 应用的包名 | |
| 24 | +| deepLink | <code>string</code> | 打开应用指定功能 注意:以上appName,packageName和deepLink三个参数至少一个 | |
| 25 | + |
| 26 | +<a name="LaunchApp+setToken"></a> |
| 27 | + |
| 28 | +### launchApp.setToken(token) |
| 29 | +设置directive的token. 默认在构造时自动生成了token,可以覆盖 |
| 30 | + |
| 31 | +**Kind**: instance method of [<code>LaunchApp</code>](#LaunchApp) |
| 32 | + |
| 33 | +| Param | Type | Description | |
| 34 | +| --- | --- | --- | |
| 35 | +| token | <code>string</code> | token | |
| 36 | + |
| 37 | +<a name="LaunchApp+getToken"></a> |
| 38 | + |
| 39 | +### launchApp.getToken() ⇒ <code>string</code> |
| 40 | +获取directive的token. 默认在构造时自动生成了token |
| 41 | + |
| 42 | +**Kind**: instance method of [<code>LaunchApp</code>](#LaunchApp) |
| 43 | +**Returns**: <code>string</code> - token |
| 44 | +<a name="LaunchApp+setAppName"></a> |
| 45 | + |
| 46 | +### launchApp.setAppName(appName) |
| 47 | +设置应用的名称 |
| 48 | + |
| 49 | +**Kind**: instance method of [<code>LaunchApp</code>](#LaunchApp) |
| 50 | + |
| 51 | +| Param | Type | Description | |
| 52 | +| --- | --- | --- | |
| 53 | +| appName | <code>string</code> | 应用的名称 | |
| 54 | + |
| 55 | +<a name="LaunchApp+setPackageName"></a> |
| 56 | + |
| 57 | +### launchApp.setPackageName(packageName) |
| 58 | +设置应用的包名 |
| 59 | + |
| 60 | +**Kind**: instance method of [<code>LaunchApp</code>](#LaunchApp) |
| 61 | + |
| 62 | +| Param | Type | Description | |
| 63 | +| --- | --- | --- | |
| 64 | +| packageName | <code>string</code> | 应用的包名 | |
| 65 | + |
| 66 | +<a name="LaunchApp+setDeepLink"></a> |
| 67 | + |
| 68 | +### launchApp.setDeepLink(deepLink) |
| 69 | +设置deepLink |
| 70 | + |
| 71 | +**Kind**: instance method of [<code>LaunchApp</code>](#LaunchApp) |
| 72 | + |
| 73 | +| Param | Type | Description | |
| 74 | +| --- | --- | --- | |
| 75 | +| deepLink | <code>string</code> | 应用指定功能 | |
| 76 | + |
0 commit comments