is Audio HTTP Content Type - Android Network

Android examples for Network:HTTP Content Type

Description

is Audio HTTP Content Type

Demo Code


//package com.java2s;

public class Main {
    public static boolean isAudioContentType(String contentType) {
        return contentType.equals("audio/mp3")
                || contentType.equals("audio/ogg")
                || contentType.equals("audio/mp4")
                || contentType.equals("audio/vnd.wave");
    }/* w w  w  . j a va 2  s. c  o m*/
}

Related Tutorials