Contents

reporterForDomain:

Returns the reporter instance unique to the given domain name.

Declaration

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

Parameters

  • domain:

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

Return Value

The reporter instance for the specified domain.

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.