From f4c02372b6bcb17cc8279ab5a29ffd3ec966ba86 Mon Sep 17 00:00:00 2001 From: Fatima Tariq Date: Thu, 14 Jan 2021 22:10:22 +0000 Subject: [PATCH 1/2] Merged PR 3484: DOC/FEAT: Updated developer documentation URL and updated reference to device-detection-cxx - DOC: Updated developer documentation URL in readme to version 4.2. - FEAT: Updated reference to include enhancements from device-detection-cxx submodule release 4.2.1. --- FiftyOne.DeviceDetection/device-detection-cxx | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FiftyOne.DeviceDetection/device-detection-cxx b/FiftyOne.DeviceDetection/device-detection-cxx index 18d49a9d..0451c193 160000 --- a/FiftyOne.DeviceDetection/device-detection-cxx +++ b/FiftyOne.DeviceDetection/device-detection-cxx @@ -1 +1 @@ -Subproject commit 18d49a9d741e5b822e2d87f19ecd16262fa3283b +Subproject commit 0451c193d8fd869e67f0781635c8dbe68d668051 diff --git a/README.md b/README.md index e0a6d5b2..25ca8b97 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ![51Degrees](https://51degrees.com/DesktopModules/FiftyOne/Distributor/Logo.ashx?utm_source=github&utm_medium=repository&utm_content=readme_main&utm_campaign=dotnet-open-source "Data rewards the curious") **Pipeline API** -[Developer Documentation](https://docs.51degrees.com?utm_source=github&utm_medium=repository&utm_content=documentation&utm_campaign=dotnet-open-source "developer documentation") +[Developer Documentation](https://51degrees.com/device-detection-dotnet/4.2/index.html?utm_source=github&utm_medium=repository&utm_content=documentation&utm_campaign=dotnet-open-source "developer documentation") ## Introduction @@ -66,5 +66,5 @@ Tests can be found in the `Tests/` folder. These can all be run from within Visu For complete documentation on the Pipeline API and associated engines, see the [51Degrees documentation site][Documentation]. -[Documentation]: https://docs.51degrees.com +[Documentation]: https://51degrees.com/documentation/4.2/index.html [nuget]: https://www.nuget.org/packages/FiftyOne.DeviceDetection/ From 4beb0d867c4502fb628e1abb109e2876ac818c47 Mon Sep 17 00:00:00 2001 From: Steve Ballantine Date: Fri, 22 Jan 2021 09:37:53 +0000 Subject: [PATCH 2/2] DATA: Added new properties New properties: - BrowserAudioCodecsDecode - BrowserAudioCodecsEncode - BrowserVideoCodecsDecode - BrowserVideoCodecsEncode - BrowserFamily --- .../Data/IDeviceData.cs | 20 +++++++++++++++++++ .../DeviceDataBase.cs | 20 +++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/FiftyOne.DeviceDetection/FiftyOne.DeviceDetection.Data/Data/IDeviceData.cs b/FiftyOne.DeviceDetection/FiftyOne.DeviceDetection.Data/Data/IDeviceData.cs index 116d4d60..da85bcd4 100644 --- a/FiftyOne.DeviceDetection/FiftyOne.DeviceDetection.Data/Data/IDeviceData.cs +++ b/FiftyOne.DeviceDetection/FiftyOne.DeviceDetection.Data/Data/IDeviceData.cs @@ -65,6 +65,14 @@ public interface IDeviceData : IAspectData /// IAspectPropertyValue BlobBuilder { get; } /// + /// Refers to the list of audio codecs in specific formats supported for Decode by the Web Browser. This list of codecs is supported for playback on a basic browser installation. + /// + IAspectPropertyValue> BrowserAudioCodecsDecode { get; } + /// + /// Refers to the list of audio codecs in specific formats supported for Encode by the Web Browser. This list of codecs is supported for capture on a basic browser installation. + /// + IAspectPropertyValue> BrowserAudioCodecsEncode { get; } + /// /// Indicates the age in months of the browser since the BrowserDiscontinuedYear and BrowserDiscontinuedMonth. /// IAspectPropertyValue BrowserDiscontinuedAge { get; } @@ -77,6 +85,10 @@ public interface IDeviceData : IAspectData /// IAspectPropertyValue BrowserDiscontinuedYear { get; } /// + /// Indicates the name of the browser without the default OS or layout engine. + /// + IAspectPropertyValue BrowserFamily { get; } + /// /// Indicates the name of the browser. Many mobile browsers, by default, come with an operating system (OS). Unless specifically named, these browsers are named after the accompanying OS and/or the layout engine. /// IAspectPropertyValue BrowserName { get; } @@ -121,6 +133,14 @@ public interface IDeviceData : IAspectData /// IAspectPropertyValue BrowserVersion { get; } /// + /// Refers to the list of video codecs in specific formats supported for Decode by the Web Browser. This list of codecs is supported for playback on a basic browser installation. + /// + IAspectPropertyValue> BrowserVideoCodecsDecode { get; } + /// + /// Refers to the list of video codecs in specific formats supported for Encode by the Web Browser. This list of codecs is supported for capture on a basic browser installation. + /// + IAspectPropertyValue> BrowserVideoCodecsEncode { get; } + /// /// Indicates the list of camera types the device has. If the device has a rotating camera, this property refers to both front and back facing cameras. /// IAspectPropertyValue> CameraTypes { get; } diff --git a/FiftyOne.DeviceDetection/FiftyOne.DeviceDetection.Data/DeviceDataBase.cs b/FiftyOne.DeviceDetection/FiftyOne.DeviceDetection.Data/DeviceDataBase.cs index 1f50f737..c91afef3 100644 --- a/FiftyOne.DeviceDetection/FiftyOne.DeviceDetection.Data/DeviceDataBase.cs +++ b/FiftyOne.DeviceDetection/FiftyOne.DeviceDetection.Data/DeviceDataBase.cs @@ -91,6 +91,14 @@ protected DeviceDataBase( /// public IAspectPropertyValue BlobBuilder { get { return GetAs>("BlobBuilder"); } } /// + /// Refers to the list of audio codecs in specific formats supported for Decode by the Web Browser. This list of codecs is supported for playback on a basic browser installation. + /// + public IAspectPropertyValue> BrowserAudioCodecsDecode { get { return GetAs>>("BrowserAudioCodecsDecode"); } } + /// + /// Refers to the list of audio codecs in specific formats supported for Encode by the Web Browser. This list of codecs is supported for capture on a basic browser installation. + /// + public IAspectPropertyValue> BrowserAudioCodecsEncode { get { return GetAs>>("BrowserAudioCodecsEncode"); } } + /// /// Indicates the age in months of the browser since the BrowserDiscontinuedYear and BrowserDiscontinuedMonth. /// public IAspectPropertyValue BrowserDiscontinuedAge { get { return GetAs>("BrowserDiscontinuedAge"); } } @@ -103,6 +111,10 @@ protected DeviceDataBase( /// public IAspectPropertyValue BrowserDiscontinuedYear { get { return GetAs>("BrowserDiscontinuedYear"); } } /// + /// Indicates the name of the browser without the default OS or layout engine. + /// + public IAspectPropertyValue BrowserFamily { get { return GetAs>("BrowserFamily"); } } + /// /// Indicates the name of the browser. Many mobile browsers, by default, come with an operating system (OS). Unless specifically named, these browsers are named after the accompanying OS and/or the layout engine. /// public IAspectPropertyValue BrowserName { get { return GetAs>("BrowserName"); } } @@ -147,6 +159,14 @@ protected DeviceDataBase( /// public IAspectPropertyValue BrowserVersion { get { return GetAs>("BrowserVersion"); } } /// + /// Refers to the list of video codecs in specific formats supported for Decode by the Web Browser. This list of codecs is supported for playback on a basic browser installation. + /// + public IAspectPropertyValue> BrowserVideoCodecsDecode { get { return GetAs>>("BrowserVideoCodecsDecode"); } } + /// + /// Refers to the list of video codecs in specific formats supported for Encode by the Web Browser. This list of codecs is supported for capture on a basic browser installation. + /// + public IAspectPropertyValue> BrowserVideoCodecsEncode { get { return GetAs>>("BrowserVideoCodecsEncode"); } } + /// /// Indicates the list of camera types the device has. If the device has a rotating camera, this property refers to both front and back facing cameras. /// public IAspectPropertyValue> CameraTypes { get { return GetAs>>("CameraTypes"); } }