Code example for Uri

Methods: getAuthority

0
            } 
        } 
    } 
 
    public static boolean isMmsUri(Uri uri) {
        return uri.getAuthority().startsWith("mms");
    } 
 
    public int getSeekTo() { 
        return mSeekTo;
    } 
 
    public void appendAction(MediaAction action) {
        mMediaActions.add(action);
    } 
 
    public MediaAction getCurrentAction() { 
        if (0 == mMediaActions.size()) {
            return MediaAction.NO_ACTIVE_ACTION;
        } 
        return mMediaActions.remove(0);