BlackBerry.ApplicationDescriptor.RestrictedFunctionalityExt.GetValue C# (CSharp) Method

GetValue() public static method

public static GetValue ( this me ) : string
me this
return string
        public static string GetValue(this RestrictedFunctionality me)
        {
            switch (me) {
            case RestrictedFunctionality.AccessSharedData:
                return "access_shared";
            case RestrictedFunctionality.RecordAudio:
                return "record_audio";
            case RestrictedFunctionality.ReadGeoLocation:
                return "read_geolocation";
            case RestrictedFunctionality.UseCamera:
                return "use_camera";
            case RestrictedFunctionality.AccessInternet:
                return "access_internet";
            case RestrictedFunctionality.PostNotifications:
                return "post_notification";
            case RestrictedFunctionality.ReadDeviceIdentifyingInformation:
                return "read_device_identifying_information";
            default:
                throw new System.ArgumentException ();
            }
        }
RestrictedFunctionalityExt