// Copyright (c) 2022,2024 Qualcomm Technologies, Inc.
// All Rights Reserved.
// Confidential and Proprietary - Qualcomm Technologies, Inc.

/** @cond */
interface ITrustedCameraDriverNotify
{
/** @endcond */

/**
 * @addtogroup ITrustedCameraDriverNotify
 * @{
 */

/**
  This method is called by the TZ Secure camera driver. 
  when it switches to the non-secure mode with the version number
  of secure camera greater than 2.0. A Trusted Camera Callback 
  service should implement this to wipe all the camera data in
  a Trusted VM.

  @return
  Object_OK on success.
*/
  method wipeMemory();

/**
  This method is called by the TZ Secure camera driver. 
  when it switches to the non-secure mode or secure mode with
  the version number of secure camera greater than 2.0,a
  callback will be called by QTEE.  A Trusted Camera Callback 
  service should implement this to get the protected/unprotected
  status in a Trusted VM.

  @return
  Object_OK on success.
*/
  method notifyEvent(in uint32 protect);

/* @} */ /* end_addtogroup ITrustedCameraDriverNotify */
};
