# MacProcesses.Info

Import: `import com.install4j.api.macos.MacProcesses;`

```java
public static class Info extends ProcessInfo
```

Class that holds information about running macOS processes.

## Inherited from

- [ProcessInfo](../ProcessInfo.md) — 6 methods

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`getWindowTitle()`](#getwindowtitle) | `String` |  |
| [`getDisplayedName()`](#getdisplayedname) | `String` | The displayed name of the application. |
| [`getBundleIdentifier()`](#getbundleidentifier) | `String` | The bundle identifier of the application. |
| [`isBackgroundOnly()`](#isbackgroundonly) | `boolean` | Returns if the process is only running in the background and does not display any windows. |
| [`toString()`](#tostring) | `String` |  |

### getWindowTitle()

```java
public String getWindowTitle()
```

### getDisplayedName()

```java
public String getDisplayedName()
```

The displayed name of the application.
For non-application bundle processes, the simple name of the executable is returned.


**Returns:** the name

### getBundleIdentifier()

```java
public String getBundleIdentifier()
```

The bundle identifier of the application.


**Returns:** the bundle identifier, or `null` if the process is not associated with an application bundle

### isBackgroundOnly()

```java
public boolean isBackgroundOnly()
```

Returns if the process is only running in the background and does not display any windows.
All non-application bundle processes return `true` here, even if they display a GUI by
some other means.


**Returns:** if background only

### toString()

```java
public String toString()
```

## Constructors

| Signature | Description |
|---|---|
| [`Info(int, String, String, String, boolean)`](#info-int-string-string-string-boolean) | Called by the framework. |

### Info(int, String, String, String, boolean)

```java
public Info(int processId, String moduleName, String displayedName, String bundleIdentifier, boolean backgroundOnly)
```

Called by the framework.

