Class BluetoothOppClient
Definition
- Assembly:
- Tizen.Network.Bluetooth.dll
A class which is used to handle the connection and send and receive the object over Opp profile.
public class BluetoothOppClient : BluetoothProfile
- Inheritance
Methods
View SourceAddFile(string)
Add File path to be pushed.
Declaration
public void AddFile(string FilePath)
Parameters
Type | Name | Description |
---|---|---|
string | FilePath | file for sending. |
CancelPush()
Cancels the ongoing push session.
Declaration
public void CancelPush()
ClearFiles()
Clears all the File paths.
Declaration
public void ClearFiles()
PushFile(string)
Pushes the file set through AddFile.
Declaration
public void PushFile(string Destination)
Parameters
Type | Name | Description |
---|---|---|
string | Destination | destination device address. |
Events
View SourcePushFinished
(event) PushFinished is called when the file tranfser is completed.
Declaration
public event EventHandler<PushFinishedEventArgs> PushFinished
Event Type
Type | Description |
---|---|
EventHandler<><PushFinishedEventArgs> |
PushProgress
(event) PushProgress is called when the file transfer state is changed.
Declaration
public event EventHandler<PushProgressEventArgs> PushProgress
Event Type
Type | Description |
---|---|
EventHandler<><PushProgressEventArgs> |
PushResponded
(event) PushResponded is called when remote OPP Server responds to a File push request.
Declaration
public event EventHandler<PushRespondedEventArgs> PushResponded
Event Type
Type | Description |
---|---|
EventHandler<><PushRespondedEventArgs> |