StreamProtectOptions

public class StreamProtectOptions extends Object
implements Parcelable

This class is deprecated.
The Stream Protect API will be shutdown in 2023.

StreamProtectOptions configure Stream Protect.

Nested Class Summary

class StreamProtectOptions.Builder This class is deprecated. The Stream Protect API will be shutdown in 2023.  

Inherited Constant Summary

Field Summary

public static final Creator<StreamProtectOptions> CREATOR

Public Method Summary

ClockType
getClockType()
This method is deprecated. The Stream Protect API will be shutdown in 2023.
int
getExpectedFps()
This method is deprecated. The Stream Protect API will be shutdown in 2023.
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

Fields

public static final Creator<StreamProtectOptions> CREATOR

Public Methods

public ClockType getClockType ()

This method is deprecated.
The Stream Protect API will be shutdown in 2023.

Returns ClockType. By default this is ClockType.MONOTONIC.

public int getExpectedFps ()

This method is deprecated.
The Stream Protect API will be shutdown in 2023.

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)