AI-generated Key Takeaways
- 
          GCKSessionTraits is an object describing the traits and capabilities of a session. 
- 
          It includes properties for minimum and maximum volume, volume increment, and whether muting is supported. 
- 
          It provides designated and convenience initializers to set these volume-related traits. 
- 
          There is an instance method to check if the device has fixed volume. 
Overview
An object describing the traits and capabilities of a session.
- Since
- 3.0
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
| Instance Method Summary | |
| (instancetype) | - initWithMinimumVolume:maximumVolume:volumeIncrement:supportsMuting: | 
| Designated initializer.  More... | |
| (instancetype) | - init | 
| Convenience initializer.  More... | |
| (BOOL) | - isFixedVolume | 
| Whether this is a fixed volume device.  More... | |
| Property Summary | |
| float | minimumVolume | 
| The minimum volume value.  More... | |
| float | maximumVolume | 
| The maximum volume value.  More... | |
| float | volumeIncrement | 
| The volume increment for up/down volume adjustments.  More... | |
| BOOL | supportsMuting | 
| Whether the audio can be muted.  More... | |
Method Detail
| - (instancetype) initWithMinimumVolume: | (float) | minimumVolume | |
| maximumVolume: | (float) | maximumVolume | |
| volumeIncrement: | (float) | volumeIncrement | |
| supportsMuting: | (BOOL) | supportsMuting | |
Designated initializer.
| - (instancetype) init | 
Convenience initializer.
Sets the volume range to [0.0, 1.0], the volume increment to 0.05 (5%), and the supportsMuting flag to YES. 
| - (BOOL) isFixedVolume | 
Whether this is a fixed volume device.
Property Detail
| 
 | readnonatomicassign | 
The minimum volume value.
Must be non-negative and less than or equal to the maximum volume.
| 
 | readnonatomicassign | 
The maximum volume value.
Must be non-negative and greater than or equal to the minimum volume.
| 
 | readnonatomicassign | 
The volume increment for up/down volume adjustments.
May be 0 to indicate fixed volume. Must be non-negative and less than or equal to the difference between the maximum volume and minimum volume.
| 
 | readnonatomicassign | 
Whether the audio can be muted.