Files
nearby/cpp/platform/impl/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h
T
hai007 b1815095dd BEGIN_PUBLIC
Microsoft has updated the winrt library
END_PUBLC

PiperOrigin-RevId: 387168248
2021-07-29 03:27:37 -07:00

67 lines
5.3 KiB
C++

// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210505.3
#ifndef WINRT_Windows_Devices_Bluetooth_Rfcomm_2_H
#define WINRT_Windows_Devices_Bluetooth_Rfcomm_2_H
#include "winrt/impl/Windows.Devices.Bluetooth.1.h"
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Devices.Bluetooth.Rfcomm.1.h"
WINRT_EXPORT namespace winrt::Windows::Devices::Bluetooth::Rfcomm
{
struct __declspec(empty_bases) RfcommDeviceService : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService,
impl::require<RfcommDeviceService, winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService2, winrt::Windows::Foundation::IClosable, winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService3>
{
RfcommDeviceService(std::nullptr_t) noexcept {}
RfcommDeviceService(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService(ptr, take_ownership_from_abi) {}
RfcommDeviceService(RfcommDeviceService const&) noexcept = default;
RfcommDeviceService(RfcommDeviceService&&) noexcept = default;
RfcommDeviceService& operator=(RfcommDeviceService const&) & noexcept = default;
RfcommDeviceService& operator=(RfcommDeviceService&&) & noexcept = default;
static auto FromIdAsync(param::hstring const& deviceId);
static auto GetDeviceSelector(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId);
static auto GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice);
static auto GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode);
static auto GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId);
static auto GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode);
};
struct __declspec(empty_bases) RfcommDeviceServicesResult : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult
{
RfcommDeviceServicesResult(std::nullptr_t) noexcept {}
RfcommDeviceServicesResult(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult(ptr, take_ownership_from_abi) {}
RfcommDeviceServicesResult(RfcommDeviceServicesResult const&) noexcept = default;
RfcommDeviceServicesResult(RfcommDeviceServicesResult&&) noexcept = default;
RfcommDeviceServicesResult& operator=(RfcommDeviceServicesResult const&) & noexcept = default;
RfcommDeviceServicesResult& operator=(RfcommDeviceServicesResult&&) & noexcept = default;
};
struct __declspec(empty_bases) RfcommServiceId : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId
{
RfcommServiceId(std::nullptr_t) noexcept {}
RfcommServiceId(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId(ptr, take_ownership_from_abi) {}
RfcommServiceId(RfcommServiceId const&) noexcept = default;
RfcommServiceId(RfcommServiceId&&) noexcept = default;
RfcommServiceId& operator=(RfcommServiceId const&) & noexcept = default;
RfcommServiceId& operator=(RfcommServiceId&&) & noexcept = default;
static auto FromUuid(winrt::guid const& uuid);
static auto FromShortId(uint32_t shortId);
[[nodiscard]] static auto SerialPort();
[[nodiscard]] static auto ObexObjectPush();
[[nodiscard]] static auto ObexFileTransfer();
[[nodiscard]] static auto PhoneBookAccessPce();
[[nodiscard]] static auto PhoneBookAccessPse();
[[nodiscard]] static auto GenericFileTransfer();
};
struct __declspec(empty_bases) RfcommServiceProvider : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider,
impl::require<RfcommServiceProvider, winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider2>
{
RfcommServiceProvider(std::nullptr_t) noexcept {}
RfcommServiceProvider(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider(ptr, take_ownership_from_abi) {}
RfcommServiceProvider(RfcommServiceProvider const&) noexcept = default;
RfcommServiceProvider(RfcommServiceProvider&&) noexcept = default;
RfcommServiceProvider& operator=(RfcommServiceProvider const&) & noexcept = default;
RfcommServiceProvider& operator=(RfcommServiceProvider&&) & noexcept = default;
using winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider::StartAdvertising;
using impl::consume_t<RfcommServiceProvider, winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider2>::StartAdvertising;
static auto CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId);
};
}
#endif