Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -468,10 +468,10 @@
session wide capture keys, or <see langword="null" /> if no request is configured.</value>
<remarks>
<para>Retrieve the session wide camera parameters (see CaptureRequest).</para>
<para>When setting this property, tags (see <c>CaptureRequest.Builder#setTag</c>) and output targets
(see <c>CaptureRequest.Builder#addTarget</c>) are ignored if set.
<para>When the request is used to initialize a session, tags (see <see cref="M:Android.Hardware.Camera2.CaptureRequest.Builder.SetTag(Java.Lang.Object)" />) and output targets
(see <see cref="M:Android.Hardware.Camera2.CaptureRequest.Builder.AddTarget(Android.Views.Surface)" />) are ignored if set.
Parameter values not part of
<c>CameraCharacteristics#getAvailableSessionKeys</c> will also be
<see cref="P:Android.Hardware.Camera2.CameraCharacteristics.AvailableSessionKeys" /> will also be
ignored. It is recommended to build the session parameters using
the same template type as the initial capture request, so that the
session and initial request parameters match as much as possible.</para>
Expand Down
8 changes: 4 additions & 4 deletions docs/xml/Android.Hardware.Camera2.Params/Face+Builder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
<para>An unique id per face while the face is visible to the tracker.</para>
<para>If the face leaves the field-of-view and comes back, it will get a new id.</para>
<para>This is an optional field and may not be supported on all devices. If the id is <c>Face.IdUnsupported</c>, the leftEyePosition, rightEyePosition, and mouthPosition must all be null. Otherwise, they must either all be null or all be non-null. When devices report the value of key <c>CaptureResult.STATISTICS_FACE_DETECT_MODE</c> as <c>CameraMetadata.STATISTICS_FACE_DETECT_MODE_SIMPLE</c> in <c>CaptureResult</c>, the face id of each face is expected to be <c>Face.IdUnsupported</c>.</para>
<para>This value should either be <c>Face.IdUnsupported</c> or otherwise greater than <c>0</c>.</para>
<para>This value should either be <c>Face.IdUnsupported</c> or otherwise greater than <c>0</c>. The setter also accepts <c>0</c>.</para>
<para><format type="text/html"><a href="https://developer.android.com/reference/android/hardware/camera2/params/Face.Builder#setId(int)" title="Reference documentation">Android reference for <code>android.hardware.camera2.params.Face.Builder.setId</code>.</a></format></para>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
Expand Down Expand Up @@ -288,7 +288,7 @@
<Parameter Name="leftEyePosition" Type="Android.Graphics.Point" />
</Parameters>
<Docs>
<param name="leftEyePosition">The position of the left eye. This value cannot be null.</param>
<param name="leftEyePosition">The position of the left eye, or <see langword="null" /> when the landmark is unset.</param>
<summary>The coordinates of the center of the left eye.</summary>
<returns>This builder.</returns>
<remarks>
Expand Down Expand Up @@ -326,7 +326,7 @@
<Parameter Name="mouthPosition" Type="Android.Graphics.Point" />
</Parameters>
<Docs>
<param name="mouthPosition">The position of the mouth. This value cannot be null.</param>
<param name="mouthPosition">The position of the mouth, or <see langword="null" /> when the landmark is unset.</param>
<summary>The coordinates of the center of the mouth.</summary>
<returns>This builder.</returns>
<remarks>
Expand Down Expand Up @@ -364,7 +364,7 @@
<Parameter Name="rightEyePosition" Type="Android.Graphics.Point" />
</Parameters>
<Docs>
<param name="rightEyePosition">The position of the right eye. This value cannot be null.</param>
<param name="rightEyePosition">The position of the right eye, or <see langword="null" /> when the landmark is unset.</param>
<summary>The coordinates of the center of the right eye.</summary>
<returns>This builder.</returns>
<remarks>
Expand Down
2 changes: 1 addition & 1 deletion docs/xml/Android.Hardware.Camera2.Params/Face.xml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
</ReturnValue>
<Docs>
<summary>The confidence level for the detection of the face.</summary>
<value>Value is between SCORE_MIN and SCORE_MAX inclusive</value>
<value>A value from <see cref="F:Android.Hardware.Camera2.Params.Face.ScoreMin" /> through <see cref="F:Android.Hardware.Camera2.Params.Face.ScoreMax" />, inclusive.</value>
<remarks>
<para>The confidence level for the detection of the face.</para>
<para>The range is <c>#SCORE_MIN</c> to <c>#SCORE_MAX</c>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
</Parameters>
<Docs>
<param name="javaReference">A JNI reference to the Java object.</param>
<param name="transfer">Specifies whether ownership of the JNI reference transfers to this instance.</param>
<param name="transfer">Specifies whether the runtime releases the JNI reference and registers the managed peer.</param>
<summary>Creates a managed instance that represents an existing Java object.</summary>
<remarks>
<para>The runtime calls this constructor to create a managed representation of an existing Java object.</para>
Expand Down
12 changes: 5 additions & 7 deletions docs/xml/Android.Hardware.Camera2.Params/OutputConfiguration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -725,16 +725,14 @@
</ReturnValue>
<Docs>
<summary>Get the configured format associated with this <c>OutputConfiguration</c>.</summary>
<value>
<c>android.graphics.ImageFormat</c> associated with this
<c>OutputConfiguration</c>.</value>
<value>The configured image format as an integer.</value>
<remarks>
<para>Get the configured format associated with this <c>OutputConfiguration</c>.</para>
<para>This function handles all ImageFormats and output targets supported by
the camera APIs, and isn't designed for all possible OS supported formats and
surfaces. For example, an ImageReader can be created using any combinations of
HardwareBuffer format and dataspace. If the combination is not supported
by the camera APIs, this function returns ImageFormat.UNKNOWN.</para>
by the camera APIs, this function returns the integer value of <see cref="F:Android.Graphics.ImageFormatType.Unknown" />.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#getConfiguredFormat()" title="Reference documentation">Java documentation for <code>android.hardware.camera2.params.OutputConfiguration.getConfiguredFormat()</code>.</a>
Expand Down Expand Up @@ -1206,7 +1204,7 @@
<returns>This configuration, after its surfaces have been removed and it has been marked as deferred.</returns>
<remarks>
<para>Clear any valid output surfaces and mark the configuration as deferred.</para>
<para>Do note that this method is intended to be used in conjunction with CameraCaptureSession.updateOutputConfigurations(List) and not CameraCaptureSession.finalizeOutputConfigurations. The latter method is intended to be used only when clients want to finalize an already registered deferred OutputConfiguration with a valid Surface. However surface finalization doesn't accept deferred output configurations. Switching a valid registered surface to deferred state is only possible with CameraCaptureSession.updateOutputConfiguration.</para>
<para>Use <see cref="M:Android.Hardware.Camera2.CameraCaptureSession.UpdateOutputConfigurations(System.Collections.Generic.IList{Android.Hardware.Camera2.Params.OutputConfiguration})" /> to switch a registered output to a deferred state. <see cref="M:Android.Hardware.Camera2.CameraCaptureSession.FinalizeOutputConfigurations(System.Collections.Generic.IList{Android.Hardware.Camera2.Params.OutputConfiguration})" /> instead completes an already registered deferred output with a valid surface; it cannot finalize a configuration that has no surface.</para>
<para><format type="text/html"><a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#makeDeferredAndRemoveSurfaces()" title="Reference documentation">Android reference for <code>android.hardware.camera2.params.OutputConfiguration.makeDeferredAndRemoveSurfaces</code>.</a></format></para>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
Expand Down Expand Up @@ -2656,8 +2654,8 @@
<c>HardwareBuffer</c>.</value>
<remarks>
<para>Get the usage flag associated with this OutputConfiguration.</para>
<para>If the OutputConfiguration is created using an output surface, or using a Surface source class, this function returns the consumer usage flag of the output surface or the Surface source class.</para>
<para>If the OutputConfiguration is created using an Image format, this function returns the application specified usage flag. If the application doesn't specify the usage flag, the return value is 0 for ImageFormat.PRIVATE and HardwareBuffer.USAGE_CPU_READ_OFTEN for all other cases.</para>
<para>When created from an output surface or a surface source class, this value can reflect the consumer usage flags. Reconstructing the configuration from a parcel can reset it to 0.</para>
<para>When created using an image format, the usage is initially set to the application-specified flags. If no flags are specified, it starts at 0 for <see cref="F:Android.Graphics.ImageFormatType.Private" /> and <see cref="F:Android.Hardware.HardwareBuffer.UsageCpuReadOften" /> for other formats.</para>
<para><format type="text/html"><a href="https://developer.android.com/reference/android/hardware/camera2/params/OutputConfiguration#getUsage()" title="Reference documentation">Android reference for <code>android.hardware.camera2.params.OutputConfiguration.getUsage</code>.</a></format></para>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -839,8 +839,8 @@
<Parameter Name="cb" Type="Android.Hardware.Camera2.CameraCaptureSession+StateCallback" />
</Parameters>
<Docs>
<param name="executor">The executor which should be used to invoke the callback. In general it is recommended that camera operations are not done on the main (UI) thread. This value cannot be null. Callback and listener events are dispatched through this Executor, providing an easy way to control which thread is used. To dispatch events through the main thread of your application, you can use Context.getMainExecutor(). Otherwise, provide an Executor that dispatches to an appropriate thread.</param>
<param name="cb">A state callback interface implementation. This value cannot be null.</param>
<param name="executor">The executor which should be used to invoke the callback. In general it is recommended that camera operations are not done on the main (UI) thread. This value cannot be null. Callback and listener events are dispatched through this Executor, providing an easy way to control which thread is used. To dispatch events through the main thread of your application, you can use <see cref="P:Android.Content.Context.MainExecutor" />. Otherwise, provide an Executor that dispatches to an appropriate thread.</param>
<param name="cb">A state callback instance. This value cannot be null.</param>
<summary>Set the state callback and executor.</summary>
<remarks>
<para>Set the state callback and executor.</para>
Expand Down
2 changes: 1 addition & 1 deletion docs/xml/Android.Hardware.Camera2.Params/TonemapCurve.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<Parameter Name="offset" Type="System.Int32" />
</Parameters>
<Docs>
<param name="colorChannel">A channel index encoded as <see cref="T:Android.Graphics.Color" />: 0 for red, 1 for green, or 2 for blue. This is not an ARGB color value.</param>
<param name="colorChannel">A <see cref="T:Android.Graphics.Color" /> whose packed integer value is the channel index: 0 for red, 1 for green, or 2 for blue.</param>
<param name="destination">an array big enough to hold at least <c>#getPointCount</c><c>*</c><c>#POINT_SIZE</c> elements after the <c>offset</c></param>
<param name="offset">a non-negative offset into the array</param>
<summary>Copy the color curve for a single color channel from this tonemap curve into the destination.</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@
<Parameter Name="manufactureYear" Type="System.Int32" />
</Parameters>
<Docs>
<param name="manufactureWeek">Week of manufacturing, must be &gt;= 1 and &lt;=53, or -1 if not available. Value is between -1 and 53 inclusive</param>
<param name="manufactureYear">Year of manufacturing, must be &gt;= 1990, or -1 if not available. Value is -1 or greater</param>
<param name="manufactureWeek">The week of manufacture. Use -1 if unavailable; otherwise, use 1 through 53.</param>
<param name="manufactureYear">The year of manufacture. Use -1 if unavailable; otherwise, use 1990 or later.</param>
<summary>Sets the manufacturing week and year of the device.</summary>
<returns>This builder, with the supplied manufacture week and year stored.</returns>
<remarks>
Expand Down Expand Up @@ -313,7 +313,7 @@
<Parameter Name="modelYear" Type="System.Int32" />
</Parameters>
<Docs>
<param name="modelYear">The model year, must be &gt;= 1990, or -1 if not available. Value is -1 or greater</param>
<param name="modelYear">The model year. Use -1 if unavailable; otherwise, use 1990 or later.</param>
<summary>Sets the model year of the device.</summary>
<returns>This builder. This value cannot be null.</returns>
<remarks>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Descriptor bit used with <c>#describeContents()</c>: indicates that
<summary>Descriptor bit used with <see cref="M:Android.Hardware.Display.DeviceProductInfo.EdidStructureMetadata.DescribeContents" />: indicates that
the Parcelable object's flattened representation includes a file descriptor.</summary>
<remarks>
<para>Descriptor bit used with describeContents(): indicates that the Parcelable object's flattened representation includes a file descriptor.</para>
<para>Descriptor bit used with <see cref="M:Android.Hardware.Display.DeviceProductInfo.EdidStructureMetadata.DescribeContents" />: indicates that the Parcelable object's flattened representation includes a file descriptor.</para>
<para><format type="text/html"><a href="https://developer.android.com/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR" title="Reference documentation">Android reference for <code>android.os.Parcelable.CONTENTS_FILE_DESCRIPTOR</code>.</a></format></para>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
Expand Down Expand Up @@ -77,13 +77,13 @@
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>Flag for use with <c>#writeToParcel</c>: the object being written
<summary>Flag for use with <see cref="M:Android.Hardware.Display.DeviceProductInfo.EdidStructureMetadata.WriteToParcel(Android.OS.Parcel,Android.OS.ParcelableWriteFlags)" />: the object being written
is a return value, that is the result of a function such as
"<c>Parcelable someFunction()</c>",
"<c>void someFunction(out Parcelable)</c>", or
"<c>void someFunction(inout Parcelable)</c>".</summary>
<remarks>
<para>Flag for use with writeToParcel(Parcel, int): the object being written is a return value, that is the result of a function such as "Parcelable someFunction()", "void someFunction(out Parcelable)", or "void someFunction(inout Parcelable)". Some implementations may want to release resources at this point.</para>
<para>Flag for use with <see cref="M:Android.Hardware.Display.DeviceProductInfo.EdidStructureMetadata.WriteToParcel(Android.OS.Parcel,Android.OS.ParcelableWriteFlags)" />: the object being written is a return value, that is the result of a function such as "Parcelable someFunction()", "void someFunction(out Parcelable)", or "void someFunction(inout Parcelable)". Some implementations may want to release resources at this point.</para>
<para><format type="text/html"><a href="https://developer.android.com/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE" title="Reference documentation">Android reference for <code>android.os.Parcelable.PARCELABLE_WRITE_RETURN_VALUE</code>.</a></format></para>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
Expand Down
Loading