/*
 * DRM Manager class.
 *
 * @copyright:
 * Copyright (c) 2009-2016 NexStreaming Corporation, all rights reserved.
 */

package com.nexstreaming.httpretrievestoresample;

/**
 * \brief This class allows NexPlayer&trade;&nbsp;to support and handle offline HLS and Smooth Streaming content.
 * 
 * \since version 6.3
 */

public class HTTPRetrieveDataManager {
	private static final String TAG = "HTTPRetrieveDataManager";

	/**
	 * HTTPRetrieveDataManager constructor
	 */
    public HTTPRetrieveDataManager() {
    }

    /**
     * Initializes and registers the HTTPRetrieveDataManager.
     * 
     * \param strEngineLibName	The relevant engine library name as a string.
     * \param cachFolder  The folder to be used for the cache, as a string.
     */
    public static native int initManager(String strEngineLibName, String cachFolder);

    /** 
    * \For internal use only. Please do not use.
    */
    public static native int initManagerMulti(Object nexPlayerHandle, String strEngineLibName, String cachFolder);

    public static native int deinitManager(String strEngineLibName);    

    public static native int deinitManagerMulti(Object nexPlayerHandle, String strEngineLibName);

    static {
        System.loadLibrary("HttpRetrieveStoreDataCallbackSample_jni");
    }
}
