added in [version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)   
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1 Summary: [Ctors](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#pubctors) \| [Methods](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#inhmethods) \| [\[Expand All\]](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#)

# NotificationCompat.BigTextStyle


`
public
static


class
NotificationCompat.BigTextStyle
`


`


`

`

extends https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Style


`

`


`

|---|---|---|
| java.lang.Object |||
| ↳ | [android.support.v4.app.NotificationCompat.Style](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Style) ||
|   | ↳ | android.support.v4.app.NotificationCompat.BigTextStyle |

<br />

*** ** * ** ***

Helper class for generating large-format notifications that include a lot of text.

<br />


If the platform does not provide large-format notifications, this method has no effect. The
user will always see the normal notification view.


This class is a "rebuilder": It attaches to a Builder object and modifies its behavior, like so:

```
 Notification notification = new Notification.Builder(mContext)
     .setContentTitle("New mail from " + sender.toString())
     .setContentText(subject)
     .setSmallIcon(R.drawable.new_mail)
     .setLargeIcon(aBitmap)
     .setStyle(new Notification.BigTextStyle()
         .bigText(aVeryLongString))
     .build();
 
```

<br />

**See also:**

- `https://developer.android.com/https://developer.android.com/reference/android/app/Notification#bigContentView`

## Summary

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#NotificationCompat.BigTextStyle()() ` |
| ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#NotificationCompat.BigTextStyle(android.support.v4.app.NotificationCompat.Builder)(https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder builder) ` |

| ### Public methods ||
|---|---|
| ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle` | ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#bigText(java.lang.CharSequence)(CharSequence cs) ` Provide the longer text to be displayed in the big form of the template in place of the content text. |
| ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle` | ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#setBigContentTitle(java.lang.CharSequence)(CharSequence title) ` Overrides ContentTitle in the big form of the template. |
| ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle` | ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#setSummaryText(java.lang.CharSequence)(CharSequence cs) ` Set the first line of text after the detail section in the big form of the template. |

| ### Inherited methods |
|---|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#)From class ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Style ` |---|---| | ` https://developer.android.com/reference/android/app/Notification.html` | ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Style#build()() ` | | ` void` | ` https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Style#setBuilder(android.support.v4.app.NotificationCompat.Builder)(https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder builder) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle#)From class ` java.lang.Object ` |---|---| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class<?>` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` String` | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||

## Public constructors

### NotificationCompat.BigTextStyle

added in [version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)

```
NotificationCompat.BigTextStyle ()
```

<br />

<br />

### NotificationCompat.BigTextStyle

added in [version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)

```
NotificationCompat.BigTextStyle (NotificationCompat.Builder builder)
```

<br />

<br />

| Parameters ||
|---|---|
| `builder` | `NotificationCompat.Builder` <br /> |

## Public methods

### bigText

added in [version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)

```
NotificationCompat.BigTextStyle bigText (CharSequence cs)
```

Provide the longer text to be displayed in the big form of the
template in place of the content text.

<br />

| Parameters ||
|---|---|
| `cs` | `CharSequence` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle` | <br /> |

### setBigContentTitle

added in [version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)

```
NotificationCompat.BigTextStyle setBigContentTitle (CharSequence title)
```

Overrides ContentTitle in the big form of the template.
This defaults to the value passed to setContentTitle().

<br />

| Parameters ||
|---|---|
| `title` | `CharSequence` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle` | <br /> |

### setSummaryText

added in [version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)

```
NotificationCompat.BigTextStyle setSummaryText (CharSequence cs)
```

Set the first line of text after the detail section in the big form of the template.

<br />

| Parameters ||
|---|---|
| `cs` | `CharSequence` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle` | <br /> |

-

  ## Annotations

  - [NotificationCompat.Action.SemanticAction](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Action.SemanticAction)
-

  ## Interfaces

  - [ActionBarDrawerToggle.Delegate](https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.Delegate)
  - [ActionBarDrawerToggle.DelegateProvider](https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.DelegateProvider)
  - [ActivityCompat.OnRequestPermissionsResultCallback](https://developer.android.com/reference/android/support/v4/app/ActivityCompat.OnRequestPermissionsResultCallback)
  - [ActivityCompat.PermissionCompatDelegate](https://developer.android.com/reference/android/support/v4/app/ActivityCompat.PermissionCompatDelegate)
  - [FragmentManager.BackStackEntry](https://developer.android.com/reference/android/support/v4/app/FragmentManager.BackStackEntry)
  - [FragmentManager.OnBackStackChangedListener](https://developer.android.com/reference/android/support/v4/app/FragmentManager.OnBackStackChangedListener)
  - [LoaderManager.LoaderCallbacks](https://developer.android.com/reference/android/support/v4/app/LoaderManager.LoaderCallbacks)
  - [NotificationCompat.Action.Extender](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Action.Extender)
  - [NotificationCompat.Extender](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Extender)
  - [SharedElementCallback.OnSharedElementsReadyListener](https://developer.android.com/reference/android/support/v4/app/SharedElementCallback.OnSharedElementsReadyListener)
  - [TaskStackBuilder.SupportParentable](https://developer.android.com/reference/android/support/v4/app/TaskStackBuilder.SupportParentable)
-

  ## Classes

  - [ActionBarDrawerToggle](https://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle)
  - [ActivityCompat](https://developer.android.com/reference/android/support/v4/app/ActivityCompat)
  - [ActivityManagerCompat](https://developer.android.com/reference/android/support/v4/app/ActivityManagerCompat)
  - [ActivityOptionsCompat](https://developer.android.com/reference/android/support/v4/app/ActivityOptionsCompat)
  - [AlarmManagerCompat](https://developer.android.com/reference/android/support/v4/app/AlarmManagerCompat)
  - [AppLaunchChecker](https://developer.android.com/reference/android/support/v4/app/AppLaunchChecker)
  - [AppOpsManagerCompat](https://developer.android.com/reference/android/support/v4/app/AppOpsManagerCompat)
  - [BundleCompat](https://developer.android.com/reference/android/support/v4/app/BundleCompat)
  - [DialogFragment](https://developer.android.com/reference/android/support/v4/app/DialogFragment)
  - [Fragment](https://developer.android.com/reference/android/support/v4/app/Fragment)
  - [Fragment.SavedState](https://developer.android.com/reference/android/support/v4/app/Fragment.SavedState)
  - [FragmentActivity](https://developer.android.com/reference/android/support/v4/app/FragmentActivity)
  - [FragmentContainer](https://developer.android.com/reference/android/support/v4/app/FragmentContainer)
  - [FragmentController](https://developer.android.com/reference/android/support/v4/app/FragmentController)
  - [FragmentHostCallback](https://developer.android.com/reference/android/support/v4/app/FragmentHostCallback)
  - [FragmentManager](https://developer.android.com/reference/android/support/v4/app/FragmentManager)
  - [FragmentManager.FragmentLifecycleCallbacks](https://developer.android.com/reference/android/support/v4/app/FragmentManager.FragmentLifecycleCallbacks)
  - [FragmentManagerNonConfig](https://developer.android.com/reference/android/support/v4/app/FragmentManagerNonConfig)
  - [FragmentPagerAdapter](https://developer.android.com/reference/android/support/v4/app/FragmentPagerAdapter)
  - [FragmentStatePagerAdapter](https://developer.android.com/reference/android/support/v4/app/FragmentStatePagerAdapter)
  - [FragmentTabHost](https://developer.android.com/reference/android/support/v4/app/FragmentTabHost)
  - [FragmentTransaction](https://developer.android.com/reference/android/support/v4/app/FragmentTransaction)
  - [FrameMetricsAggregator](https://developer.android.com/reference/android/support/v4/app/FrameMetricsAggregator)
  - [JobIntentService](https://developer.android.com/reference/android/support/v4/app/JobIntentService)
  - [ListFragment](https://developer.android.com/reference/android/support/v4/app/ListFragment)
  - [LoaderManager](https://developer.android.com/reference/android/support/v4/app/LoaderManager)
  - [NavUtils](https://developer.android.com/reference/android/support/v4/app/NavUtils)
  - [NotificationCompat](https://developer.android.com/reference/android/support/v4/app/NotificationCompat)
  - [NotificationCompat.Action](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Action)
  - [NotificationCompat.Action.Builder](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Action.Builder)
  - [NotificationCompat.Action.WearableExtender](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Action.WearableExtender)
  - [NotificationCompat.BigPictureStyle](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigPictureStyle)
  - [NotificationCompat.BigTextStyle](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.BigTextStyle)
  - [NotificationCompat.Builder](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Builder)
  - [NotificationCompat.CarExtender](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.CarExtender)
  - [NotificationCompat.CarExtender.UnreadConversation](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.CarExtender.UnreadConversation)
  - [NotificationCompat.CarExtender.UnreadConversation.Builder](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.CarExtender.UnreadConversation.Builder)
  - [NotificationCompat.DecoratedCustomViewStyle](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.DecoratedCustomViewStyle)
  - [NotificationCompat.InboxStyle](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.InboxStyle)
  - [NotificationCompat.MessagingStyle](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.MessagingStyle)
  - [NotificationCompat.MessagingStyle.Message](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.MessagingStyle.Message)
  - [NotificationCompat.Style](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.Style)
  - [NotificationCompat.WearableExtender](https://developer.android.com/reference/android/support/v4/app/NotificationCompat.WearableExtender)
  - [NotificationCompatExtras](https://developer.android.com/reference/android/support/v4/app/NotificationCompatExtras)
  - [NotificationCompatSideChannelService](https://developer.android.com/reference/android/support/v4/app/NotificationCompatSideChannelService)
  - [NotificationManagerCompat](https://developer.android.com/reference/android/support/v4/app/NotificationManagerCompat)
  - [RemoteInput](https://developer.android.com/reference/android/support/v4/app/RemoteInput)
  - [RemoteInput.Builder](https://developer.android.com/reference/android/support/v4/app/RemoteInput.Builder)
  - [ServiceCompat](https://developer.android.com/reference/android/support/v4/app/ServiceCompat)
  - [ShareCompat](https://developer.android.com/reference/android/support/v4/app/ShareCompat)
  - [ShareCompat.IntentBuilder](https://developer.android.com/reference/android/support/v4/app/ShareCompat.IntentBuilder)
  - [ShareCompat.IntentReader](https://developer.android.com/reference/android/support/v4/app/ShareCompat.IntentReader)
  - [SharedElementCallback](https://developer.android.com/reference/android/support/v4/app/SharedElementCallback)
  - [TaskStackBuilder](https://developer.android.com/reference/android/support/v4/app/TaskStackBuilder)
-

  ## Exceptions

  - [Fragment.InstantiationException](https://developer.android.com/reference/android/support/v4/app/Fragment.InstantiationException)