*
* @return An error code
* @param[in] address An address of the %Bluetooth device
- * @exception E_SUCCESS The method is successful.
- * @exception E_INVALID_ARG The specified address is invalid. @n
- * The size of the address should be @c 6 bytes.
- * @remarks Setting the address of the %BluetoothDevice instance which is obtained from the paired list does not
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG The specified address is invalid. @n
+ * The size of the address should be @c 6 bytes.
+ * @remarks Setting the address of the %BluetoothDevice instance which is obtained from the paired list does not
* affect the information of the paired list in the system.
*/
result SetAddress(const Tizen::Base::ByteBuffer& address);
*
* @return An error code
* @param[in] listener The event listener for the %BluetoothHealth. @n
- * The specified listener must be allocated at heap, not stack.
+ * The specified listener must be allocated at heap, not stack.
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
- * @exception E_UNSUPPORTED_OPERATION The device does not support the %Bluetooth feature.
+ * @exception E_UNSUPPORTED_OPERATION The device does not support the %Bluetooth feature.
* @exception E_OPERATION_FAILED The method has failed.
*/
result Construct(IBluetoothHealthEventListener& listener);
/**
* Starts %Bluetooth health as a role of sink with the specified data type. @n
- * One %BluetoothHealth instance supports only a sink role with the specific data type at one time and
- * only one sink role for the specific data type can be enabled system-widely. @n
- * For providing sink roles with various data types, make multiple %BluetoothHealth instances with different data types.
+ * One %BluetoothHealth instance supports only a sink role with the specific data type at one time and only one
+ * sink role for the specific data type can be enabled system-widely. @n
+ * For providing sink roles with various data types, make multiple %BluetoothHealth instances with different data types.
*
* @since 2.0
* @privlevel public
*
* @return An error code
* @param[in] channelId The ID of the specified channel to disconnect. @n
- * The ID can be obtained by IBluetoothHealthEventListener::OnHealthConnected() after the
- * specific channel is established.
+ * The ID can be obtained by IBluetoothHealthEventListener::OnHealthConnected()
+ * after the specific channel is established.
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_STATE %Bluetooth is not activated.
* @exception E_INVALID_OPERATION The current state of the instance prohibits the execution of the specified
*
* @return An error code
* @param[in] channelId The ID of the specified channel on which the data is sent. @n
- * The ID can be obtained by IBluetoothHealthEventListener::OnHealthConnected() after the
- * specific channel is established.
+ * The ID can be obtained by IBluetoothHealthEventListener::OnHealthConnected()
+ * after the specific channel is established.
* @param[in] buffer The data to send
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_STATE %Bluetooth is not activated.
* @param[in] listener The listener to handle the %BluetoothManager event
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
- * @exception E_UNSUPPORTED_OPERATION This operation is not supported.
+ * @exception E_UNSUPPORTED_OPERATION This operation is not supported.
* @exception E_SYSTEM A system error has occurred.
*/
result Construct(IBluetoothManagerEventListener& listener);
* @since 2.0
*
* @return The local %Bluetooth device address @n
- * The address is expressed as a @c 6 byte hexadecimal value delimited by colons. @n
- * For example, "00:3D:47:EF:8A:03".
+ * The address is expressed as a @c 6 byte hexadecimal value delimited by colons. @n
+ * For example, "00:3D:47:EF:8A:03".
*/
Tizen::Base::String GetLocalDeviceAddress(void) const;
* @since 2.0
*
* @return The remaining time, in seconds, until the local device to be not discoverable. @n
- * @c 0 will be returned if the current discoverable mode is not @c BT_DISC_MODE_TIME_LIMITED_DISCOVERABLE.
+ * @c 0 will be returned if the current discoverable mode is not @c BT_DISC_MODE_TIME_LIMITED_DISCOVERABLE.
*/
int GetRemainingTimeAsDiscoverable(void) const;
/**
* Sets the name of the local device. @n
- * The searching device detects the local devices in close proximity based on the specified device name, and
- * the name is only valid while an application is active.
+ * The searching device detects the local devices in close proximity based on the specified device name, and the
+ * name is only valid while an application is active.
+ *
* @since 2.0
* @privlevel public
* @privilege http://tizen.org/privilege/bluetooth.admin
*
* @return An error code
* @param[in] deviceName The new device name. @n
- * The specified device name is automatically truncated if its size is greater than @c 64 bytes.
+ * The specified device name is automatically truncated if its size is
+ * greater than @c 64 bytes.
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_ARG The specified device name is an empty string.
* @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
* @exception E_SYSTEM A system error has occurred.
- * @remarks This method does not affect the system settings.
+ * @remarks This method does not affect the system settings.
*/
result SetLocalDeviceName(const Tizen::Base::String& deviceName);
* @return An error code
* @param[in] mode The new discoverable mode
* @param[in] seconds The duration in seconds for which the local device is discoverable. @n
- * The specified duration is adopted only if the specified @c mode is @c BT_DISC_MODE_TIME_LIMITED_DISCOVERABLE.
+ * The specified duration is adopted only if the specified @c mode is
+ * @c BT_DISC_MODE_TIME_LIMITED_DISCOVERABLE.
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_ARG The specified @c seconds should be greater than 0 if the specified
- * @c mode is @c BT_DISC_MODE_TIME_LIMITED_DISCOVERABLE.
+ * @c mode is @c BT_DISC_MODE_TIME_LIMITED_DISCOVERABLE.
* @exception E_INVALID_OPERATION %Bluetooth is not activated.
* @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
* @exception E_SYSTEM A system error has occurred.
Tizen::Base::Collection::IList* GetPairedDeviceListN(void) const;
/**
- * Sets a remote device event listener for searching devices and services. @n
+ * Sets a remote device event listener for searching devices and services.
*
* @since 2.0
*
* @return An error code
* @param[in] pListener The device event listener to set @n
- * If the specified listener is @c null, the listener currently set is unregistered.
+ * If the specified listener is @c null, the listener currently set is
+ * unregistered.
* @exception E_SUCCESS The method is successful.
* @exception E_SYSTEM A system error has occurred.
* @remarks Only one event listener can be set.
/**
* Unpairs with the paired device. @n
- * The process of unpairing is to remove the specified device from the paired device list. No
- * notification is transmitted to the remote device. @n
- * This method is synchronous.
- * Only when the result of this method is @c E_SUCCESS, the unpaired event is fired.
+ * The process of unpairing is to remove the specified device from the paired device list. No notification is
+ * transmitted to the remote device. @n
+ * This method is synchronous. Only when the result of this method is @c E_SUCCESS, the unpaired event is fired.
*
* @since 2.0
* @privlevel public
* @param[in] listener The event listener for the OPP client
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
- * @exception E_UNSUPPORTED_OPERATION This operation is not supported.
+ * @exception E_UNSUPPORTED_OPERATION This operation is not supported.
* @exception E_SYSTEM A system error has occurred.
*/
result Construct(IBluetoothOppClientEventListener& listener);
* @endif
* @since 2.0
* @if OSPCOMPAT
- * @compatibility This method has compatibility issues@n
- * For more information, see @ref CompIoPathPage "here".
+ * @compatibility This method has compatibility issues@n
+ * For more information, see @ref CompIoPathPage "here".
* @endif
* @privlevel public
* @privilege http://tizen.org/privilege/bluetooth.opp
* @param[in] listener The event listener for the OPP server
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
- * @exception E_UNSUPPORTED_OPERATION This operation is not supported.
+ * @exception E_UNSUPPORTED_OPERATION This operation is not supported.
* @exception E_SYSTEM A system error has occurred.
*/
result Construct(IBluetoothOppServerEventListener& listener);
* @endif
* @since 2.0
* @if OSPCOMPAT
- * @compatibility This method has compatibility issues. @n
- * For more information, see @ref CompIoPathPage "here".
+ * @compatibility This method has compatibility issues. @n
+ * For more information, see @ref CompIoPathPage "here".
*
* @endif
* @return An error code
* @endif
* @since 2.0
* @if OSPCOMPAT
- * @compatibility This method has compatibility issues. @n
- * For more information, see @ref CompIoPathPage "here".
+ * @compatibility This method has compatibility issues. @n
+ * For more information, see @ref CompIoPathPage "here".
* @endif
* @privlevel public
* @privilege http://tizen.org/privilege/bluetooth.opp
* @param[in] listener The event listener for SPP acceptor
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
- * @exception E_UNSUPPORTED_OPERATION This operation is not supported.
+ * @exception E_UNSUPPORTED_OPERATION This operation is not supported.
* @exception E_SYSTEM A system error has occurred.
*/
result Construct(IBluetoothSppAcceptorEventListener& listener);
* @privilege http://tizen.org/privilege/bluetooth.spp
*
* @return An error code
- * @param[in] buffer The data to send. @n
- * The size of the buffer should not exceed @c 1000 bytes.
+ * @param[in] buffer The data to send. @n
+ * The size of the buffer should not exceed @c 1000 bytes.
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_STATE This instance is in an invalid state. @n
* For example, this instance has not been constructed as yet or %Bluetooth is
* @param[in] listener The event listener for the SPP initiator
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_MEMORY The memory is insufficient.
- * @exception E_UNSUPPORTED_OPERATION This operation is not supported.
+ * @exception E_UNSUPPORTED_OPERATION This operation is not supported.
* @exception E_SYSTEM A system error has occurred.
*/
result Construct(IBluetoothSppInitiatorEventListener& listener);
*
* @return An error code
* @param[in] buffer The data to send. @n
- * The size of the buffer should not exceed @c 1000 bytes.
+ * The size of the buffer should not exceed @c 1000 bytes.
* @exception E_SUCCESS The method is successful.
* @exception E_INVALID_STATE This instance is in an invalid state. @n
* For example, this instance has not been constructed as yet or %Bluetooth is
enum BluetoothConnectionType
{
BT_CONNECTION_GENERIC, /**< The GENERIC CONNECTION
- * @if OSPDEPREC
- * @deprecated This enumeration field is deprecated. @n
- * @endif
- */
+ * @if OSPDEPREC
+ * @deprecated This enumeration field is deprecated. @n
+ * @endif
+ */
BT_CONNECTION_SPP_ACCEPTOR, /**< The SPP ACCEPTOR CONNECTION */
BT_CONNECTION_SPP_INITIATOR, /**< The SPP INITIATOR CONNECTION */
BT_CONNECTION_OPP_SERVER, /**< The OPP SERVER CONNECTION */
BT_SVC_HDP_SERVICE = 0x08000000, /**< The health device profile service type */
BT_SVC_MAP_SERVICE = 0x10000000, /**< The message access profile service type */
BT_SVC_ALL_SERVICE = 0x01FFFFFF, /**< The All-services-supported-by-BTA service type
- * @if OSPDEPREC
- * @deprecated This enumeration field is deprecated.
- * @endif
+ * @if OSPDEPREC
+ * @deprecated This enumeration field is deprecated.
+ * @endif
*/
BT_SVC_NONE = 0 /**< The No service or unknown service type */
*
* @param[in] targetDevice The remote device that sends its service list
* @param[in] serviceList The service list that is received. @n
- * The specified service list consists of Bluetooth::BluetoothServiceType values which are joined by OR operator.
+ * The specified service list consists of Bluetooth::BluetoothServiceType
+ * values which are joined by OR operator.
* @param[in] r The result of receiving the service list
* @exception E_SUCCESS The method is successful.
* @exception E_REMOTE_SERVICE_NOT_FOUND The service list of the remote device is not found.
/**
* Called when a new remote device is paired with this local device. @n
- * This method is able to be called even though the specified device already exists in the paired
- * device list. Because the authorized key with the remote device is no more valid. @n
+ * This method is able to be called even though the specified device already exists in the paired device list.
+ * Because the authorized key with the remote device is no more valid. @n
* If the pairing is explicitly requested by BluetoothManager::Pair() and the request fails,
* OnBluetoothPairingFailed() is called instead of this method.
*
* @since 2.0
*
* @param[in] pairedDevice The device to pair with the local device. @n
- * The specified device may have no service list value and elements in the service UUID list because the
- * retrieving the service list from the remote device fails.@n
- * In that case, call BluetoothManager::RetrieveServiceList() to get the service list from the paired device.
+ * The specified device may have no service list value and elements in the service
+ * UUID list because the retrieving the service list from the remote device fails.@n
+ * In that case, call BluetoothManager::RetrieveServiceList() to get the service
+ * list from the paired device.
*/
virtual void OnBluetoothPaired(const BluetoothDevice& pairedDevice) = 0;
* @endif
* @since 2.0
* @if OSPCOMPAT
- * @compatibility This method has compatibility issues. @n
- * For more information, see @ref CompIoPathPage "here".
+ * @compatibility This method has compatibility issues. @n
+ * For more information, see @ref CompIoPathPage "here".
*
* @endif
* @param[in] filePath The path of the file (including the file name) to transfer
/**
* Called when the file transfer has finished.
*
- * @since 2.0
+ * @since 2.0
*
- * @param[in] fileName The name of the file to transfer. @n
- * If the name of the received file already exists in the destination path, the received file is renamed
- * automatically and @c isCompleted is set to @c true. For renaming, the specified postfix is appended to
- * the original file name. The postfix consists of an underscore and three digit sequence numbers starting
- * from 001. For example, "MySong.mp3" may be changed to "MySong_001.mp3".
- * @param[in] fileSize The size of the file to transfer
- * @param[in] isCompleted Set to @c true if the transfer is successfully completed, @n
- * else @c false
+ * @param[in] fileName The name of the file to transfer. @n
+ * If the name of the received file already exists in the destination path, the
+ * received file is renamed automatically and @c isCompleted is set to @c true.
+ * For renaming, the specified postfix is appended to the original file name. The
+ * postfix consists of an underscore and three digit sequence numbers starting from
+ * 001. For example, "MySong.mp3" may be changed to "MySong_001.mp3".
+ * @param[in] fileSize The size of the file to transfer
+ * @param[in] isCompleted Set to @c true if the transfer is successfully completed, @n
+ * else @c false
*/
virtual void OnOppTransferDone(const Tizen::Base::String& fileName, int fileSize, bool isCompleted) = 0;