Show / Hide Table of Contents

    Class BluetoothHid

    A class which is used to handle the connection to Bluetooth HID like keyboards and mouse.

    Inheritance
    Object
    BluetoothProfile
    BluetoothHid
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Tizen.Network.Bluetooth
    Assembly: Tizen.Network.Bluetooth.dll
    Syntax
    public class BluetoothHid : BluetoothProfile
    Privilege Level
    public
    Privilege

    http://tizen.org/privilege/bluetooth

    Methods

    Connect()

    Connects the remote device with the HID service.

    Declaration
    public void Connect()
    Remarks

    The device must be bonded with the remote device by CreateBond(). If connection request succeeds, the HidConnectionStateChanged event will be invoked.

    API Version
    3
    Exceptions
    Type Condition
    InvalidOperationException

    Thrown when the Bluetooth is not enabled or when the connection attempt to the remote device fails.

    Disconnect()

    Disconnects the remote device with the HID service.

    Declaration
    public void Disconnect()
    API Version
    3
    Exceptions
    Type Condition
    InvalidOperationException

    Thrown when the Bluetooth is not enabled or when the disconnection attempt to the remote device fails.

    Events

    HidConnectionStateChanged

    The HidConnectionStateChanged event is called when the HID host connection state is changed.

    Declaration
    public event EventHandler<HidConnectionStateChangedEventArgs> HidConnectionStateChanged
    Event Type
    Type Description
    EventHandler<HidConnectionStateChangedEventArgs>
    API Version
    3
    Back to top Copyright © 2016-2018 Samsung
    Generated by DocFX