/*******************************************************************************
 * ADOBE CONFIDENTIAL
 *  ___________________
 *
 *  Copyright 2015 Adobe Systems Incorporated
 *  All Rights Reserved.
 *
 *  NOTICE:  All information contained herein is, and remains
 *  the property of Adobe Systems Incorporated and its suppliers,
 *  if any.  The intellectual and technical concepts contained
 *  herein are proprietary to Adobe Systems Incorporated and its
 *  suppliers and are protected by trade secret or copyright law.
 *  Dissemination of this information or reproduction of this material
 *  is strictly forbidden unless prior written permission is obtained
 *  from Adobe Systems Incorporated.
 ******************************************************************************/

package com.adobe.primetime.reference.manager;

import com.adobe.mediacore.MediaPlayer;
import com.adobe.mediacore.metadata.Metadata;

public class VAManager implements IManager {

    @Override
    public void destroy() {
    }

    public static final String SETTINGS_VA_ENABLED = "settings_va_enabled";
    public static final String SETTINGS_VA_TRACKING_SERVER = "settings_va_tracking_server";
    public static final String SETTINGS_VA_PUBLISHER = "settings_va_publisher";
    public static final String SETTINGS_VA_CHANNEL = "settings_va_channel";
    public static final String SETTINGS_VA_DEBUG_LOGGING_ENABLED = "settings_va_debug_logging_enabled";
    public static final String SETTINGS_VA_QUITE_MODE = "settings_va_quiet_mode";
	 public static final String SETTINGS_VA_METADATA_BLOCKS_ENABLED = "settings_va_metadata_blocks_enabled";
    public static final String SETTINGS_VA_USE_SSL_ENABLED = "settings_va_use_ssl_enabled";
    public static final String SETTINGS_VA_CHAPTER_TRACKING_ENABLED = "settings_va_chapter_tracking_enabled";
	public static final String SETTINGS_VA_PLAYER_NAME = "settings_va_player_name";

    // Default configuration values for the Adobe Video Analytics Heartbeat library.
    // Please consult with your Adobe Primetime enablement team member for the correct values for your account.
    public static final String DEFAULT_VA_TRACKING_SERVER = "http://obumobile1.hb.omtrdc.net";
    public static final String DEFAULT_VA_CHANNEL = "testchannel-tvsdk";
    public static final String DEFAULT_VA_PUBLISHER = "3CE342C75100435B0A490D4C@AdobeOrg";
	public static final String DEFAULT_VA_PLAYER_NAME = "TVSDK Android Reference Player";
    public static final boolean DEFAULT_VA_DEBUG_LOGGING = false;
    public static final boolean DEFAULT_VA_QUITE_MODE = false;
    public static final boolean DEFAULT_VA_ENABLED = false;
	public static final boolean DEFAULT_VA_METADATA_BLOCKS_ENABLED = false;
    public static final boolean DEFAULT_VA_USE_SSL = false;
    public static final boolean DEFAULT_VA_CHAPTER_TRACKING = false;

    /**
     * Create Video Analytics provider to track video statistics and send to the analytics server by attaching it to
     * the media player. The Video Analtyics Provider must be created before the MediaPlayer is initialized.
     * @param mediaPlayer the MediaPlayer to track video statistics
     * @param resourceMetadata the Metadata attached to the MediaResource which contains the
     *                         VideoAnalytics configuration
     */
     public void createVAProvider(MediaPlayer mediaPlayer, Metadata resourceMetadata) {}

}
