toValue method
Implementation
String toValue() {
switch (this) {
case APIName.putMedia:
return 'PUT_MEDIA';
case APIName.getMedia:
return 'GET_MEDIA';
case APIName.listFragments:
return 'LIST_FRAGMENTS';
case APIName.getMediaForFragmentList:
return 'GET_MEDIA_FOR_FRAGMENT_LIST';
case APIName.getHlsStreamingSessionUrl:
return 'GET_HLS_STREAMING_SESSION_URL';
case APIName.getDashStreamingSessionUrl:
return 'GET_DASH_STREAMING_SESSION_URL';
case APIName.getClip:
return 'GET_CLIP';
}
}