 
 /**
  `ScreenBrightness` delegate.
- 
+
  A class with ability to receive changes in screen brightness.
  */
 public protocol ScreenBrightnessMonitoring: class {
-    
+
     /**
      Called when a `brightness` of device screen changes.
      */

            return screen.brightness
        }
    }
    
    /**
     Returns `true` if `screen brightness` is greater than `0.5`.
     */

 A `class` that detects changes in screen brightness.
 */
public class ScreenBrightness {

    /**
     A delegate that conforms to `ScreenBrightnessMonitoring` protocol.
     */
    public weak var delegate: ScreenBrightnessMonitoring?

    /**
     Returns screen brightness value.
     - important: Returned value is between 0 and 1.
