[**CameraKit Web SDK - Push 2 Web v1.17.0**](../README.md)

***

[CameraKit Web SDK - Push 2 Web](../globals.md) / SubscriptionInstance

# Type Alias: SubscriptionInstance

> **SubscriptionInstance**: `object`

Object that represents active connection with Lens Studio.

## Type declaration

### unsubscribe()

Close current connection and unsubscribe from the events form Lens Studio.

#### Returns

`void`

### updateAccessToken()

This method can be used to provide a new access token for an active connection
in case the previous one has expired.

#### Parameters

##### accessToken

`string`

Login Kit access token

#### Returns

`void`
