/GiggleViewRecorder

View Recorder

Primary LanguageJava

GiggleViewRecorder

View Recorder support for Android 21+

##Gradle

repositories{
    mavenCentral()
}

dependencies{
    compile 'az.giggle:giggleviewrecorder:1.0.0'
}

Record view

CaptureHelper captureHelper = new CaptureHelper(this);
RecorderSettings recorderSettings = new RecorderSettings(view);
recorderSettings.setWithDuration(true);
recorderSettings.setDuration(10);

captureHelper.startRecordView(getApplication(), recorderSettings, new RecordingSession.Listener() {

                    @Override
                    public void onStart() {}

                    @Override
                    public void onStop() {}

                    @Override
                    public void onError(String error) {}

                    @Override
                    public void onEnd(String path) {}
                    
                });

##Thanks

License

Copyright 2016 Emil Valiyev

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.