Sha256: a62e2656ebf13cc67da1d55293387ae4e1911ce5197a0fabb296d80e33efd571

Contents?: true

Size: 839 Bytes

Versions: 17

Compression:

Stored size: 839 Bytes

Contents

#import "MediaplayerSingleton.h"

extern void rho_sys_open_url(const char* url);

@implementation MediaplayerSingleton



-(void) start:(NSString*)filename methodResult:(id<IMethodResult>)methodResult {
    if (filename != nil) {
        rho_sys_open_url([filename UTF8String]);
    }
}

-(void) stop:(id<IMethodResult>)methodResult{

}

-(void) startvideo:(NSString*)filename methodResult:(id<IMethodResult>)methodResult {
    [self start:filename methodResult:nil];
}

-(void) stopvideo:(id<IMethodResult>)methodResult {

}

-(void) getAllRingtones:(id<IMethodResult>)methodResult {
    NSMutableArray* ar = [NSMutableArray arrayWithCapacity:1];
    [methodResult setResult:ar];
}

-(void) playRingTone:(NSString*)name methodResult:(id<IMethodResult>)methodResult {

}

-(void) stopRingTone:(id<IMethodResult>)methodResult {

}




@end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
rhodes-7.6.0 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-7.5.1 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-7.4.1 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-7.1.17 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-6.2.0 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-6.0.11 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-5.5.18 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-5.5.17 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-5.5.15 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-5.5.0.22 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-5.5.2 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-5.5.0.7 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-5.5.0.3 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
rhodes-5.5.0 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
tauplatform-1.0.3 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
tauplatform-1.0.2 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m
tauplatform-1.0.1 lib/commonAPI/mediaplayer/ext/platform/iphone/impl/MediaplayerSingleton.m