mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
29 lines
868 B
Objective-C
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
|