class MediaController2 implements AutoCloseable {

    public void adjustVolume(@VolumeDirection int direction, @VolumeFlags int flags) {
        mImpl.adjustVolume(direction, flags);
    }

    public  MediaController2(@NonNull Context context, @NonNull SessionToken2 token,
            @NonNull Executor executor, @NonNull ControllerCallback callback);

}