bluetoothengine/btaudioman/inc/BTAccClient.h
branchRCL_3
changeset 6 6a29d5ad0713
parent 0 f63038272f30
equal deleted inserted replaced
2:0b192a3a05a4 6:6a29d5ad0713
    91     /**
    91     /**
    92     * 
    92     * 
    93     */
    93     */
    94     void GetInfoOfConnectedAcc(TPckg<TAccInfo>& aInfoPckg, TRequestStatus& aStatus ); 
    94     void GetInfoOfConnectedAcc(TPckg<TAccInfo>& aInfoPckg, TRequestStatus& aStatus ); 
    95     
    95     
    96 
       
    97     /**
       
    98     * Transfer audio to phone
       
    99     * @param    None
       
   100     * @return   TInt indicating the success of call.      
       
   101     */
       
   102     TInt AudioToPhone();
       
   103 
       
   104     /**
       
   105     * Routes the audio paths from the phone to the accessory from which they
       
   106     * have been earlier on moved to the phone with the audio to phone 
       
   107     * operation. In practice also reconnects to the accessory.
       
   108     * @param aStatus            When the request completes contains the 
       
   109     *                           success status of the operation.
       
   110     * @return                   None.
       
   111     */
       
   112     void AudioToAccessory( TRequestStatus& aStatus );
       
   113 
       
   114     /**
       
   115     * Cancels the audio to accessory operation.
       
   116     * Note that if this request is made after the point when it is not 
       
   117     * possible to cancel the actual operation any more, the audio paths 
       
   118     * might still be routed to the accessory again.
       
   119     * @param                    TRequestStatus status to be cancelled.
       
   120     * @return                   None.
       
   121     */
       
   122     void CancelAudioToAccessory();
       
   123     
       
   124 public: // Functions from base classes
    96 public: // Functions from base classes
   125 
    97 
   126     /**
    98     /**
   127     * From RSessionBase informs current version
    99     * From RSessionBase informs current version
   128     * @param    None
   100     * @param    None