---
title: MTRDeviceStorageBehaviorConfiguration
framework: matter
role: symbol
role_heading: Class
path: matter/mtrdevicestoragebehaviorconfiguration
---

# MTRDeviceStorageBehaviorConfiguration

Class that configures how MTRDevice objects persist their attributes to storage, so as to not overwhelm the underlying storage system.

## Declaration

```swift
class MTRDeviceStorageBehaviorConfiguration
```

## Topics

### Initializers

- [init(reportToPersistenceDelayTime:reportToPersistenceDelayTimeMax:recentReportTimesMaxCount:timeBetweenReportsTooShortThreshold:timeBetweenReportsTooShortMinThreshold:reportToPersistenceDelayMaxMultiplier:deviceReportingExcessivelyIntervalThreshold:)](matter/mtrdevicestoragebehaviorconfiguration/init(reporttopersistencedelaytime:reporttopersistencedelaytimemax:recentreporttimesmaxcount:timebetweenreportstooshortthreshold:timebetweenreportstooshortminthreshold:reporttopersistencedelaymaxmultiplier:devicereportingexcessivelyintervalt-6xgqf.md)

### Instance Properties

- [deviceReportingExcessivelyIntervalThreshold](matter/mtrdevicestoragebehaviorconfiguration/devicereportingexcessivelyintervalthreshold.md)
- [disableStorageBehaviorOptimization](matter/mtrdevicestoragebehaviorconfiguration/disablestoragebehavioroptimization.md)
- [recentReportTimesMaxCount](matter/mtrdevicestoragebehaviorconfiguration/recentreporttimesmaxcount.md)
- [reportToPersistenceDelayMaxMultiplier](matter/mtrdevicestoragebehaviorconfiguration/reporttopersistencedelaymaxmultiplier.md)
- [reportToPersistenceDelayTime](matter/mtrdevicestoragebehaviorconfiguration/reporttopersistencedelaytime.md)
- [reportToPersistenceDelayTimeMax](matter/mtrdevicestoragebehaviorconfiguration/reporttopersistencedelaytimemax.md)
- [timeBetweenReportsTooShortMinThreshold](matter/mtrdevicestoragebehaviorconfiguration/timebetweenreportstooshortminthreshold.md)
- [timeBetweenReportsTooShortThreshold](matter/mtrdevicestoragebehaviorconfiguration/timebetweenreportstooshortthreshold.md)

### Type Methods

- [withDefaultStorageBehavior()](matter/mtrdevicestoragebehaviorconfiguration/withdefaultstoragebehavior().md)
- [withStorageBehaviorOptimizationDisabled()](matter/mtrdevicestoragebehaviorconfiguration/withstoragebehavioroptimizationdisabled().md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
