Class MobileDetector
Namespace: Neon.Blazor
Assembly: Neon.Blazor.dll
Syntax
public class MobileDetector
Constructors
MobileDetector(IJSRuntime)
Declaration
public MobileDetector(IJSRuntime js)
Parameters
| Type | Name | Description |
|---|---|---|
| IJSRuntime | js |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
IsMobileAsync()
Declaration
public Task<bool?> IsMobileAsync()
Returns
| Type | Description |
|---|---|
| Task<bool?> |