Class BluetoothOppClient
Definition
- Namespace:
- Tizen.Network.Bluetooth
- Assembly:
- Tizen.Network.Bluetooth.dll
- API Level:
- 4
- Privilege Level:
- public
- Privilege:
- http://tizen.org/privilege/bluetooth
A class which is used to handle the connection and send and receive the object over Opp profile.
C#Copypublic class BluetoothOppClient : BluetoothProfile
- Inheritance
Methods
Declaration
C#Copypublic void AddFile(string FilePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | FilePath | file for sending. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the required feature is not Supported. |
System.NotSupportedException | Thrown when the BT/BTLE is not Supported. |
System.InvalidOperationException | Thrown when the BT/BTLE is not Enabled or Other Bluetooth Errors. |
API Level: 4
Feature: http://tizen.org/feature/network.bluetooth.opp
Declaration
C#Copypublic void CancelPush()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the required feature is not Supported. |
System.NotSupportedException | Thrown when the BT/BTLE is not Supported. |
System.InvalidOperationException | Thrown when the BT/BTLE is not Enabled or Other Bluetooth Errors. |
API Level: 4
Feature: http://tizen.org/feature/network.bluetooth.opp
Declaration
C#Copypublic void ClearFiles()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the required feature is not Supported. |
System.NotSupportedException | Thrown when the BT/BTLE is not Supported. |
System.InvalidOperationException | Thrown when the BT/BTLE is not Enabled or Other Bluetooth Errors. |
API Level: 4
Feature: http://tizen.org/feature/network.bluetooth.opp
Declaration
C#Copypublic void PushFile(string Destination)
Parameters
Type | Name | Description |
---|---|---|
System.String | Destination | destination device address. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | Thrown when the required feature is not Supported. |
System.NotSupportedException | Thrown when the BT/BTLE is not Supported. |
System.InvalidOperationException | Thrown when the BT/BTLE is not Enabled or Other Bluetooth Errors. |
API Level: 4
Feature: http://tizen.org/feature/network.bluetooth.opp
Events
Declaration
C#Copypublic event EventHandler<PushFinishedEventArgs> PushFinished
Event Type
Type | Description |
---|---|
System.EventHandler<PushFinishedEventArgs> |
API Level: 4
Declaration
C#Copypublic event EventHandler<PushProgressEventArgs> PushProgress
Event Type
Type | Description |
---|---|
System.EventHandler<PushProgressEventArgs> |
API Level: 4
PushResponded
(event) PushResponded is called when remote OPP Server responds to a File push request.
Declaration
C#Copypublic event EventHandler<PushRespondedEventArgs> PushResponded
Event Type
Type | Description |
---|---|
System.EventHandler<PushRespondedEventArgs> |