Files
phonegap-plugins/iOS/VolumeSlider/VolumeSlider.h
2012-07-31 09:50:54 +10:00

29 lines
868 B
Objective-C

//
// VolumeSlider.h
// Volume Slider Cordova Plugin
//
// Created by Tommy-Carlos Williams on 20/07/11.
// Copyright 2011 Tommy-Carlos Williams. All rights reserved.
// MIT Licensed
//
#import <Cordova/CDVPlugin.h>
#import <MediaPlayer/MediaPlayer.h>
@interface VolumeSlider : CDVPlugin <UITabBarDelegate> {
NSString* callbackId;
UIView* mpVolumeViewParentView;
MPVolumeView* myVolumeView;
}
@property (nonatomic, copy) NSString* callbackId;
@property (nonatomic, retain) UIView* mpVolumeViewParentView;
@property (nonatomic, retain) MPVolumeView* myVolumeView;
- (void)createVolumeSlider:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void)showVolumeSlider:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
- (void)hideVolumeSlider:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;
@end