Patent ID: 8276163

Claim:
A portable electronic device comprising: a storage system; at least one processor; and a session manager, stored in the storage system and configured to be executed by the at least one processor, the session manager providing one or more different types of sessions between multimedia services and multimedia drivers in the portable electronic device, each of the one or more different types of sessions comprises one or more statuses directed at controlling allotment of the multimedia services to applications of the portable electronic device, wherein the sessions having an exclusive relationship use a corresponding multimedia driver at the same time according to predetermined priorities of the sessions, and the sessions having a coexistent relationship use a corresponding multimedia driver at the same time; the session manager further coordinating the statuses of the one or more different types of sessions if a corresponding multimedia service has modified a status of a corresponding session; and the session manager further providing callbacks to notify the corresponding multimedia service when the status of the corresponding session has been coordinated by the session manager; wherein the one or more statuses of a session comprise a created status, an activated status, a ready status, a terminating status, an interrupting status, and an Interrupted status; and properties of the one or more different types of sessions comprise an identification, a priority, a status, and a callback.