AppAsync Method
Overloads
| AppAsync(String, SessionToken, Boolean) |
Connect to a Qlik Sense app. This method opens a websocket connection. |
|
| AppAsync(AsyncHandle, String, SessionToken, Boolean) |
Connect to a Qlik Sense app. This method opens a websocket connection. |
|
| AppAsync(AsyncHandle, String, Action<IHub>, SessionToken, Boolean) |
Connect to a Qlik Sense app. The This method opens a websocket connection. |
AppAsync(String, SessionToken, Boolean)
Connect to a Qlik Sense app.
This method opens a websocket connection.
Declaration
public Task<IApp> AppAsync(string appId, SessionToken sessionToken = null, bool noData = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | appId |
The ID of the app to open. |
| SessionToken | sessionToken |
Session identification token. A value of |
| System.Boolean | noData |
Open the app without data. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IApp> |
A task with an IApp instance as result. |
Implements
AppAsync(AsyncHandle, String, SessionToken, Boolean)
Connect to a Qlik Sense app.
This method opens a websocket connection.
Declaration
public Task<IApp> AppAsync(AsyncHandle asyncHandle, string appId, SessionToken sessionToken = null, bool noData = false)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request. |
| System.String | appId |
The ID of the app to open. |
| SessionToken | sessionToken |
Session identification token. A value of |
| System.Boolean | noData |
Open the app without data. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IApp> |
A task with an IApp instance as result. |
Implements
AppAsync(AsyncHandle, String, Action<IHub>, SessionToken, Boolean)
Connect to a Qlik Sense app. The onConnectionEstablished callback can be used to access an IHub instance while the app is being opened.
This method opens a websocket connection.
Declaration
public Task<IApp> AppAsync(AsyncHandle asyncHandle, string appId, Action<IHub> onConnectionEstablished, SessionToken sessionToken = null, bool noData = false)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request. |
| System.String | appId |
The ID of the app to open. |
| System.Action<IHub> | onConnectionEstablished |
Callback to use when connection has been established. |
| SessionToken | sessionToken |
Session identification token. A value of |
| System.Boolean | noData |
Open the app without data. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<IApp> |
A task with an IApp instance as result. |