Skip to content

Commit

Permalink
Merge branch 'hotfix/v4.2.1'
Browse files Browse the repository at this point in the history
- 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.
- DATA: Added following new properties.
	1. BrowserAudioCodecsDecode
	2. BrowserAudioCodecsEncode
	3. BrowserVideoCodecsDecode
	4. BrowserVideoCodecsEncode
	5. BrowserFamily
  • Loading branch information
fatima51Degrees committed Jan 29, 2021
2 parents b374090 + 4beb0d8 commit 76003a1
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ public interface IDeviceData : IAspectData
/// </summary>
IAspectPropertyValue<bool> BlobBuilder { get; }
/// <summary>
/// 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.
/// </summary>
IAspectPropertyValue<IReadOnlyList<string>> BrowserAudioCodecsDecode { get; }
/// <summary>
/// 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.
/// </summary>
IAspectPropertyValue<IReadOnlyList<string>> BrowserAudioCodecsEncode { get; }
/// <summary>
/// Indicates the age in months of the browser since the BrowserDiscontinuedYear and BrowserDiscontinuedMonth.
/// </summary>
IAspectPropertyValue<int> BrowserDiscontinuedAge { get; }
Expand All @@ -77,6 +85,10 @@ public interface IDeviceData : IAspectData
/// </summary>
IAspectPropertyValue<int> BrowserDiscontinuedYear { get; }
/// <summary>
/// Indicates the name of the browser without the default OS or layout engine.
/// </summary>
IAspectPropertyValue<string> BrowserFamily { get; }
/// <summary>
/// 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.
/// </summary>
IAspectPropertyValue<string> BrowserName { get; }
Expand Down Expand Up @@ -121,6 +133,14 @@ public interface IDeviceData : IAspectData
/// </summary>
IAspectPropertyValue<string> BrowserVersion { get; }
/// <summary>
/// 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.
/// </summary>
IAspectPropertyValue<IReadOnlyList<string>> BrowserVideoCodecsDecode { get; }
/// <summary>
/// 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.
/// </summary>
IAspectPropertyValue<IReadOnlyList<string>> BrowserVideoCodecsEncode { get; }
/// <summary>
/// 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.
/// </summary>
IAspectPropertyValue<IReadOnlyList<string>> CameraTypes { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ protected DeviceDataBase(
/// </summary>
public IAspectPropertyValue<bool> BlobBuilder { get { return GetAs<IAspectPropertyValue<bool>>("BlobBuilder"); } }
/// <summary>
/// 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.
/// </summary>
public IAspectPropertyValue<IReadOnlyList<string>> BrowserAudioCodecsDecode { get { return GetAs<IAspectPropertyValue<IReadOnlyList<string>>>("BrowserAudioCodecsDecode"); } }
/// <summary>
/// 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.
/// </summary>
public IAspectPropertyValue<IReadOnlyList<string>> BrowserAudioCodecsEncode { get { return GetAs<IAspectPropertyValue<IReadOnlyList<string>>>("BrowserAudioCodecsEncode"); } }
/// <summary>
/// Indicates the age in months of the browser since the BrowserDiscontinuedYear and BrowserDiscontinuedMonth.
/// </summary>
public IAspectPropertyValue<int> BrowserDiscontinuedAge { get { return GetAs<IAspectPropertyValue<int>>("BrowserDiscontinuedAge"); } }
Expand All @@ -103,6 +111,10 @@ protected DeviceDataBase(
/// </summary>
public IAspectPropertyValue<int> BrowserDiscontinuedYear { get { return GetAs<IAspectPropertyValue<int>>("BrowserDiscontinuedYear"); } }
/// <summary>
/// Indicates the name of the browser without the default OS or layout engine.
/// </summary>
public IAspectPropertyValue<string> BrowserFamily { get { return GetAs<IAspectPropertyValue<string>>("BrowserFamily"); } }
/// <summary>
/// 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.
/// </summary>
public IAspectPropertyValue<string> BrowserName { get { return GetAs<IAspectPropertyValue<string>>("BrowserName"); } }
Expand Down Expand Up @@ -147,6 +159,14 @@ protected DeviceDataBase(
/// </summary>
public IAspectPropertyValue<string> BrowserVersion { get { return GetAs<IAspectPropertyValue<string>>("BrowserVersion"); } }
/// <summary>
/// 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.
/// </summary>
public IAspectPropertyValue<IReadOnlyList<string>> BrowserVideoCodecsDecode { get { return GetAs<IAspectPropertyValue<IReadOnlyList<string>>>("BrowserVideoCodecsDecode"); } }
/// <summary>
/// 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.
/// </summary>
public IAspectPropertyValue<IReadOnlyList<string>> BrowserVideoCodecsEncode { get { return GetAs<IAspectPropertyValue<IReadOnlyList<string>>>("BrowserVideoCodecsEncode"); } }
/// <summary>
/// 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.
/// </summary>
public IAspectPropertyValue<IReadOnlyList<string>> CameraTypes { get { return GetAs<IAspectPropertyValue<IReadOnlyList<string>>>("CameraTypes"); } }
Expand Down
2 changes: 1 addition & 1 deletion FiftyOne.DeviceDetection/device-detection-cxx
Submodule device-detection-cxx updated 28 files
+12 −9 CMakeLists.txt
+16 −16 VisualStudio/DeviceDetection.sln
+12 −0 VisualStudio/FiftyOne.DeviceDetection.C/FiftyOne.DeviceDetection.C.vcxproj
+12 −0 VisualStudio/FiftyOne.DeviceDetection.CPP/FiftyOne.DeviceDetection.CPP.vcxproj
+12 −0 VisualStudio/FiftyOne.DeviceDetection.Hash.C/FiftyOne.DeviceDetection.Hash.C.vcxproj
+14 −0 VisualStudio/FiftyOne.DeviceDetection.Hash.Cpp/FiftyOne.DeviceDetection.Hash.Cpp.vcxproj
+8 −0 VisualStudio/FiftyOne.DeviceDetection.Hash.Tests/FiftyOne.DeviceDetection.Hash.Tests.vcxproj
+40 −105 VisualStudio/FiftyOne.DeviceDetection.Hash.Tests/FiftyOne.DeviceDetection.Hash.Tests.vcxproj.filters
+3 −3 docs/Doxyfile
+1 −1 docs/DoxygenLayout.xml
+8 −5 examples/CPP/Hash/ExampleBase.cpp
+12 −4 examples/CPP/Hash/GettingStarted.cpp
+12 −4 examples/CPP/Hash/MatchMetrics.cpp
+13 −5 examples/CPP/Hash/MetaData.cpp
+8 −2 examples/CPP/Hash/ReloadFromFile.cpp
+6 −1 examples/CPP/Hash/ReloadFromMemory.cpp
+11 −4 examples/CPP/Hash/StronglyTyped.cpp
+1 −1 src/common-cxx
+1 −1 src/hash/ResultsHash.cpp
+7 −6 src/hash/hash.c
+1 −1 test/hash/EngineHashInitTests.cpp
+7 −0 test/hash/EngineHashTests.cpp
+43 −0 test/hash/ExampleCPPHashGettingStartedTests.cpp
+43 −0 test/hash/ExampleCPPHashMatchMetricsTests.cpp
+43 −0 test/hash/ExampleCPPHashMetaDataTests.cpp
+48 −0 test/hash/ExampleCPPHashReloadFromFileTests.cpp
+61 −0 test/hash/ExampleCPPHashReloadFromMemoryTests.cpp
+44 −0 test/hash/ExampleCPPHashStronglyTypedTests.cpp
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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/

0 comments on commit 76003a1

Please sign in to comment.