导航菜单

页面标题

页面副标题

Top浏览器 v4.6.16 - DLNACastService.java 源代码

正在查看: Top浏览器 v4.6.16 应用的 DLNACastService.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.android.cast.dlna.dmc;

import android.content.Intent;
import c.c.a.a.b.h;
import java.util.logging.Handler;
import org.fourthline.cling.UpnpServiceConfiguration;
import org.fourthline.cling.android.AndroidUpnpServiceConfiguration;
import org.fourthline.cling.android.AndroidUpnpServiceImpl;
import org.fourthline.cling.android.FixedAndroidLogHandler;
import org.fourthline.cling.model.types.ServiceType;

public class DLNACastService extends AndroidUpnpServiceImpl {

    public static final class b extends AndroidUpnpServiceConfiguration {
        public b() {
        }

        @Override
        public ServiceType[] getExclusiveServiceTypes() {
            return new ServiceType[]{h.f361b, h.a, h.f362c, h.d};
        }

        @Override
        public int getRegistryMaintenanceIntervalMillis() {
            return 5000;
        }
    }

    @Override
    public UpnpServiceConfiguration createConfiguration() {
        return new b();
    }

    @Override
    public void onCreate() {
        c.s.a.b.c(String.format("[%s] onCreate", getClass().getName()), new Object[0]);
        m.k.d.h.a.a(new Handler[]{new FixedAndroidLogHandler()});
        super.onCreate();
    }

    @Override
    public void onDestroy() {
        c.s.a.b.d(String.format("[%s] onDestroy", getClass().getName()), new Object[0]);
        super.onDestroy();
    }

    @Override
    public int onStartCommand(Intent intent, int i, int i2) {
        c.s.a.b.c(String.format("[%s] onStartCommand: %s , %s", getClass().getName(), intent, Integer.valueOf(i)), new Object[0]);
        return super.onStartCommand(intent, i, i2);
    }
}