Skip to content

Commit d937931

Browse files
author
Mark Fine
committed
ARCore Android SDK v1.42.0
1 parent 9b32846 commit d937931

File tree

24 files changed

+200
-64
lines changed

24 files changed

+200
-64
lines changed

LICENSE

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3740,6 +3740,95 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37403740
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
37413741
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
37423742
SOFTWARE.
3743+
3744+
------------------
3745+
3746+
Creative Commons CC0 1.0 Universal
3747+
3748+
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL
3749+
SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT
3750+
RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS.
3751+
CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS DOCUMENT OR THE
3752+
INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES
3753+
RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
3754+
HEREUNDER.
3755+
3756+
Statement of Purpose
3757+
3758+
The laws of most jurisdictions throughout the world automatically confer
3759+
exclusive Copyright and Related Rights (defined below) upon the creator and
3760+
subsequent owner(s) (each and all, an "owner") of an original work of
3761+
authorship and/or a database (each, a "Work").
3762+
3763+
Certain owners wish to permanently relinquish those rights to a Work for the
3764+
purpose of contributing to a commons of creative, cultural and scientific
3765+
works ("Commons") that the public can reliably and without fear of later
3766+
claims of infringement build upon, modify, incorporate in other works, reuse
3767+
and redistribute as freely as possible in any form whatsoever and for any
3768+
purposes, including without limitation commercial purposes. These owners may
3769+
contribute to the Commons to promote the ideal of a free culture and the
3770+
further production of creative, cultural and scientific works, or to gain
3771+
reputation or greater distribution for their Work in part through the use and
3772+
efforts of others.
3773+
3774+
For these and/or other purposes and motivations, and without any expectation
3775+
of additional consideration or compensation, the person associating CC0 with a
3776+
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
3777+
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
3778+
and publicly distribute the Work under its terms, with knowledge of his or her
3779+
Copyright and Related Rights in the Work and the meaning and intended legal
3780+
effect of CC0 on those rights.
3781+
3782+
1. Copyright and Related Rights. A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following:
3783+
3784+
i. the right to reproduce, adapt, distribute, perform, display, communicate,
3785+
and translate a Work;
3786+
3787+
ii. moral rights retained by the original author(s) and/or performer(s);
3788+
3789+
iii. publicity and privacy rights pertaining to a person's image or
3790+
likeness depicted in a Work;
3791+
3792+
iv. rights protecting against unfair competition in regards to a Work, subject
3793+
to the limitations in paragraph 4(a), below;
3794+
3795+
v. rights protecting the extraction, dissemination, use and reuse of data in a
3796+
Work;
3797+
3798+
vi. database rights (such as those arising under Directive 96/9/EC of the
3799+
European Parliament and of the Council of 11 March 1996 on the legal
3800+
protection of databases, and under any national implementation thereof,
3801+
including any amended or successor version of such directive); and
3802+
3803+
vii. other similar, equivalent or corresponding rights throughout the world
3804+
based on applicable law or treaty, and any national implementations thereof.
3805+
3806+
2. Waiver. To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose.
3807+
3808+
3. Public License Fallback. Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose.
3809+
3810+
4. Limitations and Disclaimers.
3811+
3812+
a. No trademark or patent rights held by Affirmer are waived, abandoned,
3813+
surrendered, licensed or otherwise affected by this document.
3814+
3815+
b. Affirmer offers the Work as-is and makes no representations or warranties
3816+
of any kind concerning the Work, express, implied, statutory or otherwise,
3817+
including without limitation warranties of title, merchantability, fitness for
3818+
a particular purpose, non infringement, or the absence of latent or other
3819+
defects, accuracy, or the present or absence of errors, whether or not
3820+
discoverable, all to the greatest extent permissible under applicable law.
3821+
3822+
c. Affirmer disclaims responsibility for clearing rights of other persons that
3823+
may apply to the Work or any use thereof, including without limitation any
3824+
person's Copyright and Related Rights in the Work. Further, Affirmer
3825+
disclaims responsibility for obtaining any necessary consents, permissions or
3826+
other rights required for any use of the Work.
3827+
3828+
d. Affirmer understands and acknowledges that Creative Commons is not a party
3829+
to this document and has no duty or obligation with respect to this CC0 or use
3830+
of the Work.
3831+
37433832
*******************************************************************************
37443833
Protocol Buffers
37453834
*******************************************************************************

libraries/include/arcore_c_api.h

Lines changed: 49 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,6 +1938,41 @@ AR_DEFINE_ENUM(ArFutureState){
19381938
AR_FUTURE_STATE_DONE = 2,
19391939
};
19401940

1941+
// Describe the Geospatial anchor type. Do not use. For internal use only.
1942+
AR_DEFINE_ENUM(ArGeospatialAnchorType){
1943+
AR_GEOSPATIAL_ANCHOR_TYPE_UNKNOWN = 0,
1944+
// Anchor with altitude relative to WGS84 Earth ellipsoid's mean sea level.
1945+
AR_GEOSPATIAL_ANCHOR_TYPE_WGS84 = 1,
1946+
// Anchor with altitude relative to ground floors or ground terrain.
1947+
AR_GEOSPATIAL_ANCHOR_TYPE_TERRAIN = 2,
1948+
// Anchor with altitude relative to building rooftops.
1949+
AR_GEOSPATIAL_ANCHOR_TYPE_ROOFTOP = 3,
1950+
};
1951+
1952+
// Describe the Geospatial Creator Platform. Do not use. For internal use only.
1953+
AR_DEFINE_ENUM(ArGeospatialCreatorPlatform){
1954+
// The platform cannot be determined, because the client did not explicitly
1955+
// report this field. This is the default value.
1956+
AR_GEOSPATIAL_CREATOR_PLATFORM_UNKNOWN = 0,
1957+
1958+
// Geospatial Creator is available on the platform, but was not used for
1959+
// this AR application.
1960+
AR_GEOSPATIAL_CREATOR_PLATFORM_DISABLED = 1,
1961+
1962+
// Geospatial Creator was used, but the platform is not defined in an enum.
1963+
// This is useful for implementing backwards compatibility for 3rd party
1964+
// partners, though subsequent ARCore releases should have an appropriate
1965+
// enum value exposed.
1966+
AR_GEOSPATIAL_CREATOR_PLATFORM_OTHER = 2,
1967+
1968+
// Geospatial Creator for the ARCore Extensions SDK was used to build this
1969+
// this AR application.
1970+
AR_GEOSPATIAL_CREATOR_PLATFORM_ARCORE_EXTENSIONS_UNITY = 3,
1971+
1972+
// Geospatial Creator for Adobe Aero was used to build this AR application.
1973+
AR_GEOSPATIAL_CREATOR_PLATFORM_ADOBE_AERO = 4,
1974+
};
1975+
19411976
/// @ingroup ArHostCloudAnchorFuture
19421977
/// Handle to an asynchronous operation launched by
19431978
/// @c ::ArSession_hostCloudAnchorAsync. See the <a
@@ -4842,10 +4877,11 @@ void ArTrackDataList_acquireItem(const ArSession *session,
48424877
/// Attempts to acquire a depth image that corresponds to the current frame.
48434878
///
48444879
/// The depth image has a single 16-bit plane at index 0, stored in
4845-
/// little-endian format. Each pixel contains the distance in millimeters to the
4846-
/// camera plane. Currently, the three most significant bits are always set to
4847-
/// 000. The remaining thirteen bits express values from 0 to 8191, representing
4848-
/// depth in millimeters. To extract distance from a depth map, see <a
4880+
/// little-endian format. Each pixel contains the distance in millimeters along
4881+
/// the camera principal axis. Currently, the three most significant bits are
4882+
/// always set to 000. The remaining thirteen bits express values from 0 to
4883+
/// 8191, representing depth in millimeters. To extract distance from a depth
4884+
/// map, see <a
48494885
/// href="https://developers.google.com/ar/develop/c/depth/developer-guide#extract-distance">the
48504886
/// Depth API developer guide</a>.
48514887
///
@@ -4919,8 +4955,8 @@ ArStatus ArFrame_acquireDepthImage(const ArSession *session,
49194955
/// href="https://developer.android.com/reference/android/hardware/HardwareBuffer#D_16">
49204956
/// HardwareBuffer.D_16</a>, which is a single 16-bit plane at index 0,
49214957
/// stored in little-endian format. Each pixel contains the distance in
4922-
/// millimeters to the camera plane, with the representable depth range between
4923-
/// 0 millimeters and 65535 millimeters, or about 65 meters.
4958+
/// millimeters along the camera principal axis, with the representable depth
4959+
/// range between 0 millimeters and 65535 millimeters, or about 65 meters.
49244960
///
49254961
/// To extract distance from a depth map, see <a
49264962
/// href="https://developers.google.com/ar/develop/c/depth/developer-guide#extract-distance">the
@@ -4995,10 +5031,11 @@ ArStatus ArFrame_acquireDepthImage16Bits(const ArSession *session,
49955031
/// @c ::ArFrame_acquireRawDepthConfidenceImage).
49965032
///
49975033
/// The depth image has a single 16-bit plane at index 0, stored in
4998-
/// little-endian format. Each pixel contains the distance in millimeters to the
4999-
/// camera plane. Currently, the three most significant bits are always set to
5000-
/// 000. The remaining thirteen bits express values from 0 to 8191, representing
5001-
/// depth in millimeters. To extract distance from a depth map, see <a
5034+
/// little-endian format. Each pixel contains the distance in millimeters along
5035+
/// the camera principal axis. Currently, the three most significant bits are
5036+
/// always set to 000. The remaining thirteen bits express values from 0 to
5037+
/// 8191, representing depth in millimeters. To extract distance from a depth
5038+
/// map, see <a
50025039
/// href="https://developers.google.com/ar/develop/c/depth/developer-guide#extract-distance">the
50035040
/// Depth API developer guide</a>.
50045041
///
@@ -5087,8 +5124,8 @@ ArStatus ArFrame_acquireRawDepthImage(const ArSession *session,
50875124
/// href="https://developer.android.com/reference/android/hardware/HardwareBuffer#D_16">
50885125
/// HardwareBuffer.D_16</a>, which is a single 16-bit plane at index 0,
50895126
/// stored in little-endian format. Each pixel contains the distance in
5090-
/// millimeters to the camera plane, with the representable depth range between
5091-
/// 0 millimeters and 65535 millimeters, or about 65 meters.
5127+
/// millimeters along the camera principal axis, with the representable depth
5128+
/// range between 0 millimeters and 65535 millimeters, or about 65 meters.
50925129
///
50935130
/// To extract distance from a depth map, see <a
50945131
/// href="https://developers.google.com/ar/develop/c/depth/developer-guide#extract-distance">the

samples/augmented_faces_java/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ android {
4141

4242
dependencies {
4343
// ARCore (Google Play Services for AR) library.
44-
implementation 'com.google.ar:core:1.41.0'
44+
implementation 'com.google.ar:core:1.42.0'
4545

4646
// Obj - a simple Wavefront OBJ file loader
4747
// https://github.com/javagl/Obj

samples/augmented_image_c/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ android {
6868

6969
dependencies {
7070
// ARCore (Google Play Services for AR) library.
71-
implementation 'com.google.ar:core:1.41.0'
72-
natives 'com.google.ar:core:1.41.0'
71+
implementation 'com.google.ar:core:1.42.0'
72+
natives 'com.google.ar:core:1.42.0'
7373

7474
implementation 'androidx.appcompat:appcompat:1.1.0'
7575
implementation 'com.google.android.material:material:1.1.0'

samples/augmented_image_java/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ android {
4141

4242
dependencies {
4343
// ARCore (Google Play Services for AR) library.
44-
implementation 'com.google.ar:core:1.41.0'
44+
implementation 'com.google.ar:core:1.42.0'
4545

4646
// Obj - a simple Wavefront OBJ file loader
4747
// https://github.com/javagl/Obj

samples/cloud_anchor_java/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ android {
4141

4242
dependencies {
4343
// ARCore (Google Play Services for AR) library.
44-
implementation 'com.google.ar:core:1.41.0'
44+
implementation 'com.google.ar:core:1.42.0'
4545

4646
// Obj - a simple Wavefront OBJ file loader
4747
// https://github.com/javagl/Obj

samples/computervision_c/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ android {
6868

6969
dependencies {
7070
// ARCore (Google Play Services for AR) library.
71-
implementation 'com.google.ar:core:1.41.0'
72-
natives 'com.google.ar:core:1.41.0'
71+
implementation 'com.google.ar:core:1.42.0'
72+
natives 'com.google.ar:core:1.42.0'
7373

7474
implementation 'androidx.appcompat:appcompat:1.1.0'
7575
implementation 'com.google.android.material:material:1.1.0'

samples/computervision_java/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ android {
4141

4242
dependencies {
4343
// ARCore (Google Play Services for AR) library.
44-
implementation 'com.google.ar:core:1.41.0'
44+
implementation 'com.google.ar:core:1.42.0'
4545

4646
// Obj - a simple Wavefront OBJ file loader
4747
// https://github.com/javagl/Obj

samples/geospatial_java/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ android {
4141

4242
dependencies {
4343
// ARCore (Google Play Services for AR) library.
44-
implementation 'com.google.ar:core:1.41.0'
44+
implementation 'com.google.ar:core:1.42.0'
4545
implementation 'com.google.android.gms:play-services-location:19.0.1'
4646
implementation 'com.google.android.gms:play-services-auth:19.0.0'
4747

samples/hardwarebuffer_c/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ android {
7070

7171
dependencies {
7272
// ARCore (Google Play Services for AR) library.
73-
implementation 'com.google.ar:core:1.41.0'
74-
natives 'com.google.ar:core:1.41.0'
73+
implementation 'com.google.ar:core:1.42.0'
74+
natives 'com.google.ar:core:1.42.0'
7575

7676
implementation 'androidx.appcompat:appcompat:1.1.0'
7777
implementation 'com.google.android.material:material:1.1.0'

0 commit comments

Comments
 (0)