SCPReaderBuzzerVolume

Objective-C


@interface SCPReaderBuzzerVolume : NSObject

Swift

class ReaderBuzzerVolume : NSObject

The result of a buzzer volume retrieval, as returned by SCPReaderSettings.buzzerVolume after [SCPTerminal retrieveReaderSettings:].

When the connected reader supports buzzer volume control, volume is non-nil and error is nil. When the reader does not support buzzer volume control, error is non-nil and volume is nil.

  • The reader’s current buzzer volume state. Non-nil when the reader supports buzzer volume control.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) SCPBuzzerVolume *volume;

    Swift

    var volume: BuzzerVolume? { get }
  • Non-nil when the reader does not support buzzer volume control.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSError *error;

    Swift

    var error: (any Error)? { get }
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    You cannot directly instantiate this class.

    Declaration

    Objective-C

    + (nonnull instancetype)new;