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#
Copy
public class BluetoothOppClient : BluetoothProfile
Inheritance
BluetoothOppClient

Methods

View Source

AddFile(String)

Add File path to be pushed.

Declaration
C#
Copy
public void AddFile(string FilePath)
Parameters
Type Name Description
String FilePath

file for sending.

API Level: 4
Feature: http://tizen.org/feature/network.bluetooth.opp
View Source

CancelPush()

Cancels the ongoing push session.

Declaration
C#
Copy
public void CancelPush()
API Level: 4
Feature: http://tizen.org/feature/network.bluetooth.opp
View Source

ClearFiles()

Clears all the File paths.

Declaration
C#
Copy
public void ClearFiles()
API Level: 4
Feature: http://tizen.org/feature/network.bluetooth.opp
View Source

PushFile(String)

Pushes the file set through AddFile.

Declaration
C#
Copy
public void PushFile(string Destination)
Parameters
Type Name Description
String Destination

destination device address.

API Level: 4
Feature: http://tizen.org/feature/network.bluetooth.opp

Events

View Source

PushFinished

(event) PushFinished is called when the file tranfser is completed.

Declaration
C#
Copy
public event EventHandler<PushFinishedEventArgs> PushFinished
Event Type
Type Description
EventHandler<PushFinishedEventArgs>
API Level: 4
View Source

PushProgress

(event) PushProgress is called when the file transfer state is changed.

Declaration
C#
Copy
public event EventHandler<PushProgressEventArgs> PushProgress
Event Type
Type Description
EventHandler<PushProgressEventArgs>
API Level: 4
View Source

PushResponded

(event) PushResponded is called when remote OPP Server responds to a File push request.

Declaration
C#
Copy
public event EventHandler<PushRespondedEventArgs> PushResponded
Event Type
Type Description
EventHandler<PushRespondedEventArgs>
API Level: 4

Extension Methods