parameters: (self)
docstring: ! Closes an Azure Kinect device.
  
          @remarks 
          - Once closed, the Device object is no longer valid.
  
          @remarks 
          - Before deleting a Device object, ensure that all Captures have
              been deleted to ensure that all memory is freed.
docstring_summary: ! Closes an Azure Kinect device.
docstring_tokens: ! Closes an Azure Kinect device .
function: def close(self):
          '''! Closes an Azure Kinect device.
  
          @remarks 
          - Once closed, the Device object is no longer valid.
  
          @remarks 
          - Before deleting a Device object, ensure that all Captures have
              been deleted to ensure that all memory is freed.
          '''
  
          if self.__device_handle is None:
              return
  
          k4a_device_close(self.__device_handle)
  
          del self.__device_handle
          self.__device_handle = None
function_tokens: def close ( self ) : if self . __device_handle is None : return k4a_device_close ( self . __device_handle ) del self . __device_handle self . __device_handle = None