'''UniqueID facade.

Returns the following depending on the platform:

* **Android**: Android ID
* **OS X**: Serial number of the device
* **Linux**: Serial number using lshw
* **Windows**: MachineGUID from regkey

Simple Example
--------------

To get the unique ID::

    >>> from plyer import uniqueid
    >>> uniqueid.id
    '1b1a7a4958e2a845'

.. versionadded:: 1.2.0

.. versionchanged:: 1.2.4
    On Android returns Android ID instead of IMEI.
'''


class UniqueID(object):
    '''
    UniqueID facade.
    '''

    @property
    def id(self):
        '''
        Property that returns the unique id of the platform.
        '''
        return self.get_uid()

    def get_uid(self):
        return self._get_uid()

    # private

    def _get_uid(self, **kwargs):
        raise NotImplementedError()

'''UniqueID facade.

Returns the following depending on the platform:

* **Android**: Android ID
* **OS X**: Serial number of the device
* **Linux**: Serial number using lshw
* **Windows**: MachineGUID from regkey
* **iOS**: UUID

Simple Example
--------------

To get the unique ID::

    >>> from plyer import uniqueid
    >>> uniqueid.id
    '1b1a7a4958e2a845'

.. versionadded:: 1.2.0

.. versionchanged:: 1.2.4
    On Android returns Android ID instead of IMEI.
'''


class UniqueID(object):
    '''
    UniqueID facade.
    '''

    @property
    def id(self):
        '''
        Property that returns the unique id of the platform.
        '''
        return self.get_uid()

    def get_uid(self):
        return self._get_uid()

    # private

    def _get_uid(self, **kwargs):
        raise NotImplementedError()

Add description for iOS in facade
Add description for iOS in facade

  '''UniqueID facade.
  
  Returns the following depending on the platform:
  
  * **Android**: Android ID
  * **OS X**: Serial number of the device
  * **Linux**: Serial number using lshw
  * **Windows**: MachineGUID from regkey
+ * **iOS**: UUID
  
  Simple Example
  --------------
  
  To get the unique ID::
  
      >>> from plyer import uniqueid
      >>> uniqueid.id
      '1b1a7a4958e2a845'
  
  .. versionadded:: 1.2.0
  
  .. versionchanged:: 1.2.4
      On Android returns Android ID instead of IMEI.
  '''
  
  
  class UniqueID(object):
      '''
      UniqueID facade.
      '''
  
      @property
      def id(self):
          '''
          Property that returns the unique id of the platform.
          '''
          return self.get_uid()
  
      def get_uid(self):
          return self._get_uid()
  
      # private
  
      def _get_uid(self, **kwargs):
          raise NotImplementedError()
  
Add description for iOS in facade
## Code Before:
'''UniqueID facade.

Returns the following depending on the platform:

* **Android**: Android ID
* **OS X**: Serial number of the device
* **Linux**: Serial number using lshw
* **Windows**: MachineGUID from regkey

Simple Example
--------------

To get the unique ID::

    >>> from plyer import uniqueid
    >>> uniqueid.id
    '1b1a7a4958e2a845'

.. versionadded:: 1.2.0

.. versionchanged:: 1.2.4
    On Android returns Android ID instead of IMEI.
'''


class UniqueID(object):
    '''
    UniqueID facade.
    '''

    @property
    def id(self):
        '''
        Property that returns the unique id of the platform.
        '''
        return self.get_uid()

    def get_uid(self):
        return self._get_uid()

    # private

    def _get_uid(self, **kwargs):
        raise NotImplementedError()

## Instruction:
Add description for iOS in facade
## Code After:
'''UniqueID facade.

Returns the following depending on the platform:

* **Android**: Android ID
* **OS X**: Serial number of the device
* **Linux**: Serial number using lshw
* **Windows**: MachineGUID from regkey
* **iOS**: UUID

Simple Example
--------------

To get the unique ID::

    >>> from plyer import uniqueid
    >>> uniqueid.id
    '1b1a7a4958e2a845'

.. versionadded:: 1.2.0

.. versionchanged:: 1.2.4
    On Android returns Android ID instead of IMEI.
'''


class UniqueID(object):
    '''
    UniqueID facade.
    '''

    @property
    def id(self):
        '''
        Property that returns the unique id of the platform.
        '''
        return self.get_uid()

    def get_uid(self):
        return self._get_uid()

    # private

    def _get_uid(self, **kwargs):
        raise NotImplementedError()
