Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

在symbian手机上设置流媒体播放使用的网络接入点

From Wiki
Jump to: navigation, search

本文旨在介绍如何为流媒体播放设置网络接入点

Article Metadata

文章
flycarl 在 20 Sep 2011 创建
最后由 hamishwillee 在 30 May 2013 编辑

实现

默认的流媒体使用的接入点保存在Helix设置中,你可以在代码中通过改变CRepository键值来改变设置。

// Helix CenRep settings API
const TUid KCRUidHelixSettings = {0x2000B182};
// Default access point (String)
const TUint32 KHelixDefaultAccessPoint = 0x00000004;

你必须使用接入点的名字string来设置接入点。戏码的例子函数演示了如何从AP id获得接入点的名字:

HBufC* AccessPointNameL(TUint32 ulAP)
{
RCmManager cmManager;
cmManager.OpenLC();
HBufC* pAPName = cmManager.GetConnectionMethodInfoStringL(ulAP,CMManager::ECmName);
CleanupStack::PopAndDestroy(&cmManager);
return pAPName;
}

相关链接

This page was last modified on 30 May 2013, at 04:37.
88 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×