# ComponentInfo

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Fields](https://developer.android.com/reference/android/content/pm/ComponentInfo#lfields)\|[Inherited Fields](https://developer.android.com/reference/android/content/pm/ComponentInfo#inhfields)\|[Ctors](https://developer.android.com/reference/android/content/pm/ComponentInfo#pubctors)\|[Protected Ctors](https://developer.android.com/reference/android/content/pm/ComponentInfo#proctors)\|[Methods](https://developer.android.com/reference/android/content/pm/ComponentInfo#pubmethods)\|[Protected Methods](https://developer.android.com/reference/android/content/pm/ComponentInfo#promethods)\|[Inherited Methods](https://developer.android.com/reference/android/content/pm/ComponentInfo#inhmethods)  

# ComponentInfo

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/content/pm/ComponentInfo "View this page in Kotlin")\|Java

`
public


class
ComponentInfo
`  
`


``

extends `[PackageItemInfo](https://developer.android.com/reference/android/content/pm/PackageItemInfo)`


``


`

|---|---|----------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) |||
| ↳ | [android.content.pm.PackageItemInfo](https://developer.android.com/reference/android/content/pm/PackageItemInfo) ||
|   | ↳ | android.content.pm.ComponentInfo |

|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Known direct subclasses [ActivityInfo](https://developer.android.com/reference/android/content/pm/ActivityInfo),[ProviderInfo](https://developer.android.com/reference/android/content/pm/ProviderInfo),[ServiceInfo](https://developer.android.com/reference/android/content/pm/ServiceInfo) |-----------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------| | [ActivityInfo](https://developer.android.com/reference/android/content/pm/ActivityInfo) | Information you can retrieve about a particular application activity or receiver.                                              | | [ProviderInfo](https://developer.android.com/reference/android/content/pm/ProviderInfo) | Holds information about a specific[content provider](https://developer.android.com/reference/android/content/ContentProvider). | | [ServiceInfo](https://developer.android.com/reference/android/content/pm/ServiceInfo)   | Information you can retrieve about a particular application service.                                                           | |

<br />

*** ** * ** ***

Base class containing information common to all application components ([ActivityInfo](https://developer.android.com/reference/android/content/pm/ActivityInfo),[ServiceInfo](https://developer.android.com/reference/android/content/pm/ServiceInfo)). This class is not intended to be used by itself; it is simply here to share common definitions between all application components. As such, it does not itself implement Parcelable, but does provide convenience methods to assist in the implementation of Parcelable in subclasses.

## Summary

|                                                                                                                                                                                        ### Fields                                                                                                                                                                                        ||
|---------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` public `[ApplicationInfo](https://developer.android.com/reference/android/content/pm/ApplicationInfo) | [applicationInfo](https://developer.android.com/reference/android/content/pm/ComponentInfo#applicationInfo) Global information about the application/package this component is a part of.                                                                                       |
| ` public `[String[]](https://developer.android.com/reference/java/lang/String)                          | [attributionTags](https://developer.android.com/reference/android/content/pm/ComponentInfo#attributionTags) Set of attribution tags that should be automatically applied to this component.                                                                                     |
| ` public int`                                                                                           | [descriptionRes](https://developer.android.com/reference/android/content/pm/ComponentInfo#descriptionRes) A string resource identifier (in the package's resources) containing a user-readable description of the component.                                                    |
| ` public boolean`                                                                                       | [directBootAware](https://developer.android.com/reference/android/content/pm/ComponentInfo#directBootAware) Indicates if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN). |
| ` public boolean`                                                                                       | [enabled](https://developer.android.com/reference/android/content/pm/ComponentInfo#enabled) Indicates whether or not this component may be instantiated.                                                                                                                        |
| ` public boolean`                                                                                       | [exported](https://developer.android.com/reference/android/content/pm/ComponentInfo#exported) Set to true if this component is available for use by other applications.                                                                                                         |
| ` public `[String](https://developer.android.com/reference/java/lang/String)                            | [processName](https://developer.android.com/reference/android/content/pm/ComponentInfo#processName) The name of the process this component should run in.                                                                                                                       |
| ` public `[String](https://developer.android.com/reference/java/lang/String)                            | [splitName](https://developer.android.com/reference/android/content/pm/ComponentInfo#splitName) The name of the split in which this component is declared.                                                                                                                      |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ### Inherited fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| From class[android.content.pm.PackageItemInfo](https://developer.android.com/reference/android/content/pm/PackageItemInfo) |------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` public int`                                                                            | [banner](https://developer.android.com/reference/android/content/pm/PackageItemInfo#banner) A drawable resource identifier (in the package's resources) of this component's banner.  | | ` public int`                                                                            | [icon](https://developer.android.com/reference/android/content/pm/PackageItemInfo#icon) A drawable resource identifier (in the package's resources) of this component's icon.        | | ` public boolean`                                                                        | [isArchived](https://developer.android.com/reference/android/content/pm/PackageItemInfo#isArchived) Whether the package is currently in an archived state.                           | | ` public int`                                                                            | [labelRes](https://developer.android.com/reference/android/content/pm/PackageItemInfo#labelRes) A string resource identifier (in the package's resources) of this component's label. | | ` public int`                                                                            | [logo](https://developer.android.com/reference/android/content/pm/PackageItemInfo#logo) A drawable resource identifier (in the package's resources) of this component's logo.        | | ` public `[Bundle](https://developer.android.com/reference/android/os/Bundle)            | [metaData](https://developer.android.com/reference/android/content/pm/PackageItemInfo#metaData) Additional meta-data associated with this component.                                 | | ` public `[String](https://developer.android.com/reference/java/lang/String)             | [name](https://developer.android.com/reference/android/content/pm/PackageItemInfo#name) Public name of this item.                                                                    | | ` public `[CharSequence](https://developer.android.com/reference/java/lang/CharSequence) | [nonLocalizedLabel](https://developer.android.com/reference/android/content/pm/PackageItemInfo#nonLocalizedLabel) The string provided in the AndroidManifest file, if any.           | | ` public `[String](https://developer.android.com/reference/java/lang/String)             | [packageName](https://developer.android.com/reference/android/content/pm/PackageItemInfo#packageName) Name of the package that this item is in.                                      | |

|                                                                                                               ### Public constructors                                                                                                                ||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[ComponentInfo](https://developer.android.com/reference/android/content/pm/ComponentInfo#ComponentInfo())`() `                                                                                                                                 |
| ` `[ComponentInfo](https://developer.android.com/reference/android/content/pm/ComponentInfo#ComponentInfo(android.content.pm.ComponentInfo))`(`[ComponentInfo](https://developer.android.com/reference/android/content/pm/ComponentInfo)` orig) ` |

|                                                                                            ### Protected constructors                                                                                             ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[ComponentInfo](https://developer.android.com/reference/android/content/pm/ComponentInfo#ComponentInfo(android.os.Parcel))`(`[Parcel](https://developer.android.com/reference/android/os/Parcel)` source) ` |

|                                                                                                                   ### Public methods                                                                                                                   ||
|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` final int` | ` `[getBannerResource](https://developer.android.com/reference/android/content/pm/ComponentInfo#getBannerResource())`() ` Return the banner resource identifier to use for this component.                                               |
| ` final int` | ` `[getIconResource](https://developer.android.com/reference/android/content/pm/ComponentInfo#getIconResource())`() ` Return the icon resource identifier to use for this component.                                                     |
| ` final int` | ` `[getLogoResource](https://developer.android.com/reference/android/content/pm/ComponentInfo#getLogoResource())`() ` Return the logo resource identifier to use for this component.                                                     |
| ` boolean`   | ` `[isEnabled](https://developer.android.com/reference/android/content/pm/ComponentInfo#isEnabled())`() ` Return whether this component and its enclosing application are enabled.                                                       |
| ` void`      | ` `[writeToParcel](https://developer.android.com/reference/android/content/pm/ComponentInfo#writeToParcel(android.os.Parcel,%20int))`(`[Parcel](https://developer.android.com/reference/android/os/Parcel)` dest, int parcelableFlags) ` |

|                                                                                                                                                ### Protected methods                                                                                                                                                ||
|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void` | ` `[dumpBack](https://developer.android.com/reference/android/content/pm/ComponentInfo#dumpBack(android.util.Printer,%20java.lang.String))`(`[Printer](https://developer.android.com/reference/android/util/Printer)` pw, `[String](https://developer.android.com/reference/java/lang/String)` prefix) `   |
| ` void` | ` `[dumpFront](https://developer.android.com/reference/android/content/pm/ComponentInfo#dumpFront(android.util.Printer,%20java.lang.String))`(`[Printer](https://developer.android.com/reference/android/util/Printer)` pw, `[String](https://developer.android.com/reference/java/lang/String)` prefix) ` |

| ### Inherited methods |
|-----------------------|---|
| From class` `[android.content.pm.PackageItemInfo](https://developer.android.com/reference/android/content/pm/PackageItemInfo)` ` |-------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                               | ` `[dumpBack](https://developer.android.com/reference/android/content/pm/PackageItemInfo#dumpBack(android.util.Printer,%20java.lang.String))`(`[Printer](https://developer.android.com/reference/android/util/Printer)` pw, `[String](https://developer.android.com/reference/java/lang/String)` prefix) `                                                                                                           | | ` void`                                                                                               | ` `[dumpFront](https://developer.android.com/reference/android/content/pm/PackageItemInfo#dumpFront(android.util.Printer,%20java.lang.String))`(`[Printer](https://developer.android.com/reference/android/util/Printer)` pw, `[String](https://developer.android.com/reference/java/lang/String)` prefix) `                                                                                                         | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable)             | ` `[loadBanner](https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadBanner(android.content.pm.PackageManager))`(`[PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager)` pm) ` Retrieve the current graphical banner associated with this item.                                                                                                      | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable)             | ` `[loadIcon](https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadIcon(android.content.pm.PackageManager))`(`[PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager)` pm) ` Retrieve the current graphical icon associated with this item.                                                                                                            | | ` `[CharSequence](https://developer.android.com/reference/java/lang/CharSequence)                     | ` `[loadLabel](https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadLabel(android.content.pm.PackageManager))`(`[PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager)` pm) ` Retrieve the current textual label associated with this item.                                                                                                           | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable)             | ` `[loadLogo](https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadLogo(android.content.pm.PackageManager))`(`[PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager)` pm) ` Retrieve the current graphical logo associated with this item.                                                                                                            | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable)             | ` `[loadUnbadgedIcon](https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadUnbadgedIcon(android.content.pm.PackageManager))`(`[PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager)` pm) ` Retrieve the current graphical icon associated with this item without the addition of a work badge if applicable.                                         | | ` `[XmlResourceParser](https://developer.android.com/reference/android/content/res/XmlResourceParser) | ` `[loadXmlMetaData](https://developer.android.com/reference/android/content/pm/PackageItemInfo#loadXmlMetaData(android.content.pm.PackageManager,%20java.lang.String))`(`[PackageManager](https://developer.android.com/reference/android/content/pm/PackageManager)` pm, `[String](https://developer.android.com/reference/java/lang/String)` name) ` Load an XML resource attached to the meta-data of this item. | | ` void`                                                                                               | ` `[writeToParcel](https://developer.android.com/reference/android/content/pm/PackageItemInfo#writeToParcel(android.os.Parcel,%20int))`(`[Parcel](https://developer.android.com/reference/android/os/Parcel)` dest, int parcelableFlags) `                                                                                                                                                                           | ||
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                           | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                          | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                            | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed. | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed.                   | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*.                                                                                             | ||

## Fields

### applicationInfo

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public ApplicationInfo applicationInfo
```

Global information about the application/package this component is a part of.

<br />

### attributionTags

Added in[API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public String[] attributionTags
```

Set of attribution tags that should be automatically applied to this component.

When this component represents an[Activity](https://developer.android.com/reference/android/app/Activity),[Service](https://developer.android.com/reference/android/app/Service),[ContentResolver](https://developer.android.com/reference/android/content/ContentResolver)or[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver), each instance will be automatically configured with[Context.createAttributionContext](https://developer.android.com/reference/android/content/Context#createAttributionContext(java.lang.String))using the first attribution tag contained here.

Additionally, when this component represents a[BroadcastReceiver](https://developer.android.com/reference/android/content/BroadcastReceiver)and the sender of a broadcast requires the receiver to hold one or more specific permissions, those permission checks will be performed using each of the attributions tags contained here.

<br />

**See also:**

- [Context.createAttributionContext(String)](https://developer.android.com/reference/android/content/Context#createAttributionContext(java.lang.String))  

### descriptionRes

Added in[API level 8](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public int descriptionRes
```

A string resource identifier (in the package's resources) containing a user-readable description of the component. From the "description" attribute or, if not set, 0.

<br />

### directBootAware

Added in[API level 24](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public boolean directBootAware
```

Indicates if this component is aware of direct boot lifecycle, and can be safely run before the user has entered their credentials (such as a lock pattern or PIN).

<br />

### enabled

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public boolean enabled
```

Indicates whether or not this component may be instantiated. Note that this value can be overridden by the one in its parent[ApplicationInfo](https://developer.android.com/reference/android/content/pm/ApplicationInfo).

<br />

### exported

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public boolean exported
```

Set to true if this component is available for use by other applications. Comes from[android:exported](https://developer.android.com/reference/android/R.attr#exported)of the \<activity\>, \<receiver\>, \<service\>, or \<provider\> tag.

<br />

### processName

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public String processName
```

The name of the process this component should run in. From the "android:process" attribute or, if not set, the same as<var translate="no">applicationInfo.processName</var>.

<br />

### splitName

Added in[API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public String splitName
```

The name of the split in which this component is declared. Null if the component was declared in the base APK.

<br />

## Public constructors

### ComponentInfo

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public ComponentInfo ()
```

<br />

<br />

### ComponentInfo

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public ComponentInfo (ComponentInfo orig)
```

<br />

<br />

|           Parameters           ||
|--------|------------------------|
| `orig` | `ComponentInfo` <br /> |

## Protected constructors

### ComponentInfo

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
protected ComponentInfo (Parcel source)
```

<br />

<br />

|        Parameters         ||
|----------|-----------------|
| `source` | `Parcel` <br /> |

## Public methods

### getBannerResource

Added in[API level 20](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public final int getBannerResource ()
```

Return the banner resource identifier to use for this component. If the component defines a banner, that is used; else, the application banner is used.

<br />

|                         Returns                          ||
|-------|---------------------------------------------------|
| `int` | The banner associated with this component. <br /> |

### getIconResource

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public final int getIconResource ()
```

Return the icon resource identifier to use for this component. If the component defines an icon, that is used; else, the application icon is used.

<br />

|                        Returns                         ||
|-------|-------------------------------------------------|
| `int` | The icon associated with this component. <br /> |

### getLogoResource

Added in[API level 19](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public final int getLogoResource ()
```

Return the logo resource identifier to use for this component. If the component defines a logo, that is used; else, the application logo is used.

<br />

|                        Returns                         ||
|-------|-------------------------------------------------|
| `int` | The logo associated with this component. <br /> |

### isEnabled

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public boolean isEnabled ()
```

Return whether this component and its enclosing application are enabled.

<br />

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### writeToParcel

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public void writeToParcel (Parcel dest, 
                int parcelableFlags)
```

<br />

<br />

|             Parameters             ||
|-------------------|-----------------|
| `dest`            | `Parcel` <br /> |
| `parcelableFlags` | `int` <br />    |

## Protected methods

### dumpBack

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
protected void dumpBack (Printer pw, 
                String prefix)
```

<br />

<br />

|         Parameters         ||
|----------|------------------|
| `pw`     | `Printer` <br /> |
| `prefix` | `String` <br />  |

### dumpFront

Added in[API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
protected void dumpFront (Printer pw, 
                String prefix)
```

<br />

<br />

|         Parameters         ||
|----------|------------------|
| `pw`     | `Printer` <br /> |
| `prefix` | `String` <br />  |