Google is committed to advancing racial equity for Black communities. See how.

StreamProtectOptions

public class StreamProtectOptions extends Object
implements Parcelable

StreamProtectOptions configure Stream Protect.

Nested Class Summary

class StreamProtectOptions.Builder Builder to create a StreamProtectOptions

Inherited Constant Summary

Field Summary

public static final Creator<StreamProtectOptions> CREATOR

Public Method Summary

ClockType
int
getExpectedFps()
Returns the expected video frames per second for a session.
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<StreamProtectOptions> CREATOR

Public Methods

public ClockType getClockType ()

Returns ClockType. By default this is ClockType.MONOTONIC.

public int getExpectedFps ()

Returns the expected video frames per second for a session. If the value largely differs from the actual FPS, e.g., 30 vs 60, the effectiveness will degrade. The value cannot be changed for each session. By default this is 60.

public String toString ()

public void writeToParcel (Parcel dest, int flags)