---
title: "reporterForDomain:"
framework: statereporting
role: symbol
role_heading: Type Method
path: "statereporting/srstatereporter/reporterfordomain:"
---

# reporterForDomain:

Returns the reporter instance unique to the given domain name.

## Declaration

```occ
+ (instancetype) reporterForDomain:(NSString *) domain;
```

## Parameters

- `domain`: The reverse DNS-style name of the domain whose state you are reporting.

## Return Value

Return Value The reporter instance for the specified domain.

## Discussion

Discussion This method is the only way to obtain an SRStateReporter. Calling it multiple times with the same domain string always returns the same object.
