SyncParams.SetFrameRate(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the video frame rate hint to be used.
[Android.Runtime.Register("setFrameRate", "(F)Landroid/media/SyncParams;", "", ApiSince=23)]
public Android.Media.SyncParams? SetFrameRate (float frameRate);
[<Android.Runtime.Register("setFrameRate", "(F)Landroid/media/SyncParams;", "", ApiSince=23)>]
member this.SetFrameRate : single -> Android.Media.SyncParams
Parameters
- frameRate
- Single
A non-negative number used as an initial hint on the video frame rate to be used when using vsync as the sync source. A negative number is used to clear a previous hint.
Returns
this SyncParams
instance.
- Attributes
Remarks
Sets the video frame rate hint to be used. By default the frame rate is unspecified.
Java documentation for android.media.SyncParams.setFrameRate(float)
.
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.