Closed rodionovd closed 9 years ago
API looks good :+1:
Regarding revertInjection
, we definitely need that one. We'll have some cases when user wants to "clear" all the injections at once.
I think we need to implement unmute too:
- (void)unmuteBundle: (NSString *)bundleID;
Useful when user wants to temporarily mute a specific app and preserve it's volume level.
And it would be great be able to increase/decrease by X% (Let's say 10%). This will give us an opportunity to have a shortcut that'll control the volume level of the running app. Of course we can implement this in the UI wrapper.
// Increase volume level by 10%
- (void)increaseVolumeLevelForBundle: (NSString *)bundleID;
// Decrease volume level by 10%
- (void)decreaseVolumeLevelForBundle: (NSString *)bundleID;
OK, get it. Now it's time to write some code :)
I'm going to push all changes to develop
branch (let's leave master
for a stable v1.0), so check it out from time to time :shipit:
Let's choose the API for the framework.
My version is:
1. Single bundle
2. Multiple bundles
What do you think, @iCyberon? Have I missed anything?