Table of Contents

Class ServiceCollectionExtensions

Namespace
Bluetooth.Core.Broadcasting
Assembly
Bluetooth.Core.Broadcasting.dll

Extension methods for registering Bluetooth services in a service collection.

public static class ServiceCollectionExtensions
Inheritance
ServiceCollectionExtensions
Inherited Members

Methods

AddBluetoothCoreBroadcastingServices(IServiceCollection)

Adds Bluetooth scanner and broadcaster services to the service collection. Registers all core Bluetooth services including the adapter, scanner, broadcaster, and characteristic access services as singletons.

public static void AddBluetoothCoreBroadcastingServices(this IServiceCollection services)

Parameters

services IServiceCollection

The service collection to add services to.