Skip to main content Skip to complementary content

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 onConnectionEstablished callback can be used to access an IHub instance while the app is being opened.

This method opens a websocket connection.

AppAsync(String, SessionToken, Boolean)

Connect to a Qlik Sense app.

This method opens a websocket connection.

Declaration

      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 null is equivalent to Session.Default().

System.Boolean noData

Open the app without data.

Returns

Type Description
System.Threading.Tasks.Task<IApp>

A task with an IApp instance as result.

AppAsync(AsyncHandle, String, SessionToken, Boolean)

Connect to a Qlik Sense app.

This method opens a websocket connection.

Declaration

      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 null is equivalent to Session.Default().

System.Boolean noData

Open the app without data.

Returns

Type Description
System.Threading.Tasks.Task<IApp>

A task with an IApp instance as result.

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

      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 null is equivalent to Session.Default().

System.Boolean noData

Open the app without data.

Returns

Type Description
System.Threading.Tasks.Task<IApp>

A task with an IApp instance as result.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!