# TCGBPush Class Reference

Inherits from | NSObject
Declared in | TCGBPush.h TCGBPush.m

## Overview

The TCGBPush class provides registering push token API to NHN Cloud Push Server and querying push token API.

### `+ registerPushWithPushConfiguration:notificationOptions:completion:`

Register push token to NHN Cloud Push Server.

`+ (void)registerPushWithPushConfiguration:(TCGBPushConfiguration *)configuration notificationOptions:(TCGBNotificationOptions *)notificationOptions completion:(void ( ^ ) ( TCGBError *))completion`

#### Parameters

`configuration` | The configuration which has pushEnabled, ADAgreement and AdAgreementNight.
`notificationOptions` | The notificationOptions which has foregroundEnabled, badgeEnabled, soundEnabled.
`completion` | callback

#### Availability

Added 2.15.0.

#### See Also

- `

  TCGBPushConfiguration

  `
- `

  TCGBNotificationOptions

  `

#### Declared In

`TCGBPush.h`