Język

CamcorderProfile.Duration Property

Definition

Default recording duration in seconds before the session is terminated.

[Android.Runtime.Register("duration")]
public int Duration { get; set; }
[<Android.Runtime.Register("duration")>]
member this.Duration : int with get, set

Property Value

The stored profile duration in seconds. On Android API 37.2, SetProfile(CamcorderProfile) does not apply this field as a recording-time limit.

Attributes

Remarks

Default recording duration in seconds before the session is terminated. This is useful for applications like MMS has limited file size requirement.

Java documentation for android.media.CamcorderProfile.duration.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to