add sessionStateToString method on android platform

This commit is contained in:
Taner Sener 2021-11-07 23:47:53 +00:00
parent eda94ad613
commit b142442551

View File

@ -1185,6 +1185,16 @@ public class FFmpegKitConfig {
FFmpegKitConfig.globalLogRedirectionStrategy = logRedirectionStrategy; FFmpegKitConfig.globalLogRedirectionStrategy = logRedirectionStrategy;
} }
/**
* Converts session state to string.
*
* @param state session state
* @return string value
*/
public static String sessionStateToString(final SessionState state) {
return state.toString();
}
/** /**
* <p>Parses the given command into arguments. Uses space character to split the arguments. * <p>Parses the given command into arguments. Uses space character to split the arguments.
* Supports single and double quote characters. * Supports single and double quote characters.