> ## Documentation Index
> Fetch the complete documentation index at: https://dev.marginnote.com.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# JSExtensionClass

> Native class object for .

Native class object for [JSExtension](https://dev.marginnote.com.cn/jsb-api/marginnote-core/variables/JSExtension.md).

## Methods

### addonDidConnect()

```typescript
addonDidConnect(): void
```

Exported member.

### addonWillDisconnect()

```typescript
addonWillDisconnect(): void
```

Exported member.

### applicationDidEnterBackground()

```typescript
applicationDidEnterBackground(): void
```

Exported member.

### applicationDidReceiveLocalNotification()

```typescript
applicationDidReceiveLocalNotification(_notify: UILocalNotification | null): void
```

Exported member.

#### Parameters

**\_notify** `UILocalNotification | null` *required*

### applicationWillEnterForeground()

```typescript
applicationWillEnterForeground(): void
```

Exported member.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.