# newBuilder

open fun newBuilder(): PushConfiguration.Builder

The factory method to create an instance of the builder to build PushConfiguration.

#### Return

an instance of the builder to build PushConfiguration.

#### Since

Added 2.15.0.

open fun newBuilder(enabled: Boolean, adAgree: Boolean, adAgreeNight: Boolean): PushConfiguration.Builder

The factory method to create an instance of the builder to build PushConfiguration.

#### Return

an instance of the builder to build PushConfiguration.

#### Since

Added 2.20.0.

#### Parameters

enabled

Enable push notification or not

adAgree

Enable advertisement push notification of day or not

adAgreeNight

Enable advertisement push notification of night or not